From 104d4764eb093f3f7be7ce49887f1ff14f13f65c Mon Sep 17 00:00:00 2001 From: OpenInt Bot Date: Mon, 23 Dec 2024 00:18:44 -0800 Subject: [PATCH] fix: tests --- examples/package-lock.json | 31 ++++++++++++++++--------------- examples/package.json | 1 + examples/test.cjs | 6 +++--- examples/test.mjs | 6 +++--- 4 files changed, 23 insertions(+), 21 deletions(-) diff --git a/examples/package-lock.json b/examples/package-lock.json index aa47150..4d3e5a1 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -16,6 +16,7 @@ "@opensdks/sdk-hubspot": "0.0.4", "@opensdks/sdk-nango": "0.0.2", "@opensdks/sdk-openai": "0.0.14", + "@opensdks/sdk-openint": "0.1.1", "@opensdks/sdk-outreach": "0.0.14", "@opensdks/sdk-plaid": "0.0.14", "@opensdks/sdk-qbo": "0.0.14", @@ -266,14 +267,6 @@ "resolved": "https://registry.npmjs.org/@opensdks/fetch-links/-/fetch-links-0.0.14.tgz", "integrity": "sha512-WxrUtSLvdH60x1ZyTv4UUHbIcBH8Wkfge30rEX4HQtjX4rRNnc+U3kU5/PSvrQgwKiIM16N29zM7z2Bz0Sb1LA==" }, - "node_modules/@opensdks/runtime/node_modules/openapi-fetch": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/openapi-fetch/-/openapi-fetch-0.8.1.tgz", - "integrity": "sha512-xmzMaBCydPTMd0TKy4P2DYx/JOe9yjXtPIky1n1GV7nJJdZ3IZgSHvAWVbe06WsPD8EreR7E97IAiskPr6sa2g==", - "dependencies": { - "openapi-typescript-helpers": "^0.0.4" - } - }, "node_modules/@opensdks/sdk-apollo": { "version": "0.0.14", "resolved": "https://registry.npmjs.org/@opensdks/sdk-apollo/-/sdk-apollo-0.0.14.tgz", @@ -304,6 +297,14 @@ "resolved": "https://registry.npmjs.org/@opensdks/sdk-openai/-/sdk-openai-0.0.14.tgz", "integrity": "sha512-QqLiT2LAZnHZc5pyGNRyhBsk87QfDYUwAi3zE3VhGQSLnT88KiZ+TOpIJIyM1zqcQIlXPIy98H/DSWSWufDDQA==" }, + "node_modules/@opensdks/sdk-openint": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@opensdks/sdk-openint/-/sdk-openint-0.1.1.tgz", + "integrity": "sha512-nkiwECfjIflh9FSdWFBKzXiyPmG4D8w14budXDxPEcki5JvYAC5xvglrDqCx/+ENeNk8fJW18H9RfX7ZKl0RBw==", + "peerDependencies": { + "@opensdks/runtime": "0.0.20" + } + }, "node_modules/@opensdks/sdk-outreach": { "version": "0.0.14", "resolved": "https://registry.npmjs.org/@opensdks/sdk-outreach/-/sdk-outreach-0.0.14.tgz", @@ -2260,17 +2261,17 @@ } }, "node_modules/openapi-fetch": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/openapi-fetch/-/openapi-fetch-0.8.2.tgz", - "integrity": "sha512-4g+NLK8FmQ51RW6zLcCBOVy/lwYmFJiiT+ckYZxJWxUxH4XFhsNcX2eeqVMfVOi+mDNFja6qDXIZAz2c5J/RVw==", + "version": "0.13.3", + "resolved": "https://registry.npmjs.org/openapi-fetch/-/openapi-fetch-0.13.3.tgz", + "integrity": "sha512-M1THnPkNOXUPsQKZfqunhW/wqH8l3/W3Vlj4lemQynf4mTaTwBTvL2pgjBe0zerL/GFT5ttCHu9fYvanUI3tOw==", "dependencies": { - "openapi-typescript-helpers": "^0.0.5" + "openapi-typescript-helpers": "^0.0.15" } }, "node_modules/openapi-fetch/node_modules/openapi-typescript-helpers": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/openapi-typescript-helpers/-/openapi-typescript-helpers-0.0.5.tgz", - "integrity": "sha512-MRffg93t0hgGZbYTxg60hkRIK2sRuEOHEtCUgMuLgbCC33TMQ68AmxskzUlauzZYD47+ENeGV/ElI7qnWqrAxA==" + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/openapi-typescript-helpers/-/openapi-typescript-helpers-0.0.15.tgz", + "integrity": "sha512-opyTPaunsklCBpTK8JGef6mfPhLSnyy5a0IN9vKtx3+4aExf+KxEqYwIy3hqkedXIB97u357uLMJsOnm3GVjsw==" }, "node_modules/openapi-typescript-helpers": { "version": "0.0.4", diff --git a/examples/package.json b/examples/package.json index 59eb5b8..9a7b4cb 100644 --- a/examples/package.json +++ b/examples/package.json @@ -22,6 +22,7 @@ "@opensdks/sdk-salesloft": "0.0.15", "@opensdks/sdk-slack": "0.0.14", "@opensdks/sdk-twilio": "0.0.14", + "@opensdks/sdk-openint": "0.1.1", "openapi-fetch": "^0.13.3", "remark-toc": "^9.0.0", "twilio": "^4.19.3" diff --git a/examples/test.cjs b/examples/test.cjs index c41b65e..6a81f2a 100644 --- a/examples/test.cjs +++ b/examples/test.cjs @@ -1,8 +1,8 @@ const {initSDK} = require('@opensdks/runtime') -const {veniceSdkDef} = require('@opensdks/sdk-venice') +const {openintSdkDef} = require('@opensdks/sdk-openint') -const venice = initSDK(veniceSdkDef) +const openint = initSDK(openintSdkDef) -void venice.GET('/health').then((r) => { +void openint.GET('/health').then((r) => { console.log(r.data) }) diff --git a/examples/test.mjs b/examples/test.mjs index 2073b31..1d74a2d 100644 --- a/examples/test.mjs +++ b/examples/test.mjs @@ -1,8 +1,8 @@ import {initSDK} from '@opensdks/runtime' -import {veniceSdkDef} from '@opensdks/sdk-venice' +import {openintSdkDef} from '@opensdks/sdk-openint' -const venice = initSDK(veniceSdkDef) +const openint = initSDK(openintSdkDef) -const res = await venice.GET('/health') +const res = await openint.GET('/health') console.log(res.data)