diff --git a/examples/typescript/aws/s3/package.json b/examples/typescript/aws/s3/package.json index 74f12c6a..2fadb1fa 100644 --- a/examples/typescript/aws/s3/package.json +++ b/examples/typescript/aws/s3/package.json @@ -19,6 +19,6 @@ }, "dependencies": { "@aws-sdk/client-s3": "^3.600.0", - "@fermyon/spin-sdk": "^2.0.0-alpha.2" + "@fermyon/spin-sdk": "^2.0.0-alpha.3" } -} +} \ No newline at end of file diff --git a/examples/typescript/aws/sqs/package.json b/examples/typescript/aws/sqs/package.json index aca27c56..97df9248 100644 --- a/examples/typescript/aws/sqs/package.json +++ b/examples/typescript/aws/sqs/package.json @@ -19,6 +19,6 @@ }, "dependencies": { "@aws-sdk/client-sqs": "^3.600.0", - "@fermyon/spin-sdk": "^2.0.0-alpha.2" + "@fermyon/spin-sdk": "^2.0.0-alpha.3" } } \ No newline at end of file diff --git a/examples/typescript/blob-storage/backblaze/package.json b/examples/typescript/blob-storage/backblaze/package.json index 142b50f1..feab66d1 100644 --- a/examples/typescript/blob-storage/backblaze/package.json +++ b/examples/typescript/blob-storage/backblaze/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "@aws-sdk/client-s3": "^3.600.0", - "@fermyon/spin-sdk": "^2.0.0-alpha.2", + "@fermyon/spin-sdk": "^2.0.0-alpha.3", "uuid": "^10.0.0" } -} +} \ No newline at end of file diff --git a/examples/typescript/github/octokit-rest/package.json b/examples/typescript/github/octokit-rest/package.json index 66ccfae1..edb3f206 100644 --- a/examples/typescript/github/octokit-rest/package.json +++ b/examples/typescript/github/octokit-rest/package.json @@ -18,7 +18,7 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2", + "@fermyon/spin-sdk": "^2.0.0-alpha.3", "@octokit/rest": "^21.0.0" } -} +} \ No newline at end of file diff --git a/examples/typescript/orm/drizzle/package.json b/examples/typescript/orm/drizzle/package.json index 96bc1aa6..e325c520 100644 --- a/examples/typescript/orm/drizzle/package.json +++ b/examples/typescript/orm/drizzle/package.json @@ -18,7 +18,7 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2", + "@fermyon/spin-sdk": "^2.0.0-alpha.3", "drizzle-orm": "^0.31.2" } -} +} \ No newline at end of file diff --git a/examples/typescript/serverless_db/neondb/package.json b/examples/typescript/serverless_db/neondb/package.json index 9a79a556..581e3d88 100644 --- a/examples/typescript/serverless_db/neondb/package.json +++ b/examples/typescript/serverless_db/neondb/package.json @@ -18,7 +18,7 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2", + "@fermyon/spin-sdk": "^2.0.0-alpha.3", "@neondatabase/serverless": "^0.9.3" } -} +} \ No newline at end of file diff --git a/examples/typescript/serverless_db/planetscale/package.json b/examples/typescript/serverless_db/planetscale/package.json index 6bee50d1..9484029d 100644 --- a/examples/typescript/serverless_db/planetscale/package.json +++ b/examples/typescript/serverless_db/planetscale/package.json @@ -18,7 +18,7 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2", + "@fermyon/spin-sdk": "^2.0.0-alpha.3", "@planetscale/database": "^1.18.0" } -} +} \ No newline at end of file diff --git a/examples/typescript/spin-host-apis/spin-kv/package.json b/examples/typescript/spin-host-apis/spin-kv/package.json index 9306f529..c78f05d2 100644 --- a/examples/typescript/spin-host-apis/spin-kv/package.json +++ b/examples/typescript/spin-host-apis/spin-kv/package.json @@ -18,6 +18,6 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2" + "@fermyon/spin-sdk": "^2.0.0-alpha.3" } } \ No newline at end of file diff --git a/examples/typescript/spin-host-apis/spin-llm/package.json b/examples/typescript/spin-host-apis/spin-llm/package.json index 4238c398..c1c834d8 100644 --- a/examples/typescript/spin-host-apis/spin-llm/package.json +++ b/examples/typescript/spin-host-apis/spin-llm/package.json @@ -18,6 +18,6 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2" + "@fermyon/spin-sdk": "^2.0.0-alpha.3" } } \ No newline at end of file diff --git a/examples/typescript/spin-host-apis/spin-sqlite/package.json b/examples/typescript/spin-host-apis/spin-sqlite/package.json index 4bd33b36..3d37de1b 100644 --- a/examples/typescript/spin-host-apis/spin-sqlite/package.json +++ b/examples/typescript/spin-host-apis/spin-sqlite/package.json @@ -18,6 +18,6 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2" + "@fermyon/spin-sdk": "^2.0.0-alpha.3" } } \ No newline at end of file diff --git a/examples/typescript/spin-host-apis/spin-variables/package.json b/examples/typescript/spin-host-apis/spin-variables/package.json index 9c686435..e8176a14 100644 --- a/examples/typescript/spin-host-apis/spin-variables/package.json +++ b/examples/typescript/spin-host-apis/spin-variables/package.json @@ -18,6 +18,6 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2" + "@fermyon/spin-sdk": "^2.0.0-alpha.3" } } \ No newline at end of file diff --git a/examples/typescript/upstash/qstash/package.json b/examples/typescript/upstash/qstash/package.json index 0b6afe12..323ff560 100644 --- a/examples/typescript/upstash/qstash/package.json +++ b/examples/typescript/upstash/qstash/package.json @@ -18,7 +18,7 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2", + "@fermyon/spin-sdk": "^2.0.0-alpha.3", "@upstash/qstash": "^2.5.5" } -} +} \ No newline at end of file diff --git a/examples/typescript/upstash/vector/package.json b/examples/typescript/upstash/vector/package.json index cbef2346..ab6af9bd 100644 --- a/examples/typescript/upstash/vector/package.json +++ b/examples/typescript/upstash/vector/package.json @@ -18,7 +18,7 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2", + "@fermyon/spin-sdk": "^2.0.0-alpha.3", "@upstash/vector": "^1.1.3" } -} +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 37550aec..6aa973cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fermyon/spin-sdk", - "version": "2.0.0-alpha.2", + "version": "2.0.0-alpha.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fermyon/spin-sdk", - "version": "2.0.0-alpha.2", + "version": "2.0.0-alpha.3", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -97,81 +97,6 @@ "wizer-darwin-arm64": "wizer" } }, - "node_modules/@bytecodealliance/wizer-darwin-x64": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@bytecodealliance/wizer-darwin-x64/-/wizer-darwin-x64-3.0.1.tgz", - "integrity": "sha512-bMReultN/r+W/BRXV0F+28U5dZwbQT/ZO0k4icZlhUhrv5/wpQJix7Z/ZvBnVQ+/JHb0QDUpFk2/zCtgkRXP6Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "bin": { - "wizer-darwin-x64": "wizer" - } - }, - "node_modules/@bytecodealliance/wizer-linux-arm64": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@bytecodealliance/wizer-linux-arm64/-/wizer-linux-arm64-3.0.1.tgz", - "integrity": "sha512-35ZhAeYxWK3bTqqgwysbBWlGlrlMNKNng3ZITQV2PAtafpE7aCeqywl7VAS4lLRG5eTb7wxNgN7zf8d3wiIFTQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "bin": { - "wizer-linux-arm64": "wizer" - } - }, - "node_modules/@bytecodealliance/wizer-linux-s390x": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@bytecodealliance/wizer-linux-s390x/-/wizer-linux-s390x-3.0.1.tgz", - "integrity": "sha512-Smvy9mguEMtX0lupDLTPshXUzAHeOhgscr1bhGNjeCCLD1sd8rIjBvWV19Wtra0BL1zTuU2EPOHjR/4k8WoyDg==", - "cpu": [ - "s390x" - ], - "optional": true, - "os": [ - "linux" - ], - "bin": { - "wizer-linux-s390x": "wizer" - } - }, - "node_modules/@bytecodealliance/wizer-linux-x64": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@bytecodealliance/wizer-linux-x64/-/wizer-linux-x64-3.0.1.tgz", - "integrity": "sha512-uUue78xl7iwndsGgTsagHLTLyLBVHhwzuywiwHt1xw8y0X0O8REKRLBoB7+LdM+pttDPdFtKJgbTFL4UPAA7Yw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "bin": { - "wizer-linux-x64": "wizer" - } - }, - "node_modules/@bytecodealliance/wizer-win32-x64": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@bytecodealliance/wizer-win32-x64/-/wizer-win32-x64-3.0.1.tgz", - "integrity": "sha512-ycd38sx1UTZpHZwh8IfH/4N3n0OQUB8awxkUSLXf9PolEd088YbxoPB3noHy4E+L2oYN7KZMrg9517pX0z2RhQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "bin": { - "wizer-win32-x64": "wizer" - } - }, "node_modules/@fermyon/knitwit": { "version": "0.1.0", "resolved": "git+ssh://git@github.com/fermyon/knitwit.git#09a7d30e63ebbe333ec4b682b253ecda5a792768", @@ -685,7 +610,6 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, -<<<<<<< HEAD "node_modules/proper-lockfile": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.1.2.tgz", @@ -701,7 +625,6 @@ "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.6.tgz", "integrity": "sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA==" }, -======= "node_modules/punycode.js": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", @@ -710,7 +633,6 @@ "node": ">=6" } }, ->>>>>>> a42cbb4 (add sdk reference docs) "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -734,14 +656,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, -<<<<<<< HEAD "node_modules/retry": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", "engines": { "node": ">= 4" -======= + } + }, "node_modules/shiki": { "version": "1.10.3", "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.10.3.tgz", @@ -749,7 +671,6 @@ "dependencies": { "@shikijs/core": "1.10.3", "@types/hast": "^3.0.4" ->>>>>>> a42cbb4 (add sdk reference docs) } }, "node_modules/signal-exit": { @@ -837,7 +758,6 @@ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" }, -<<<<<<< HEAD "node_modules/tiny-case": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/tiny-case/-/tiny-case-1.0.3.tgz", @@ -859,12 +779,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/typescript": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", - "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", - "dev": true, -======= "node_modules/typedoc": { "version": "0.26.4", "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.4.tgz", @@ -895,10 +809,9 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", ->>>>>>> a42cbb4 (add sdk reference docs) + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", + "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index 48499975..98da459b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fermyon/spin-sdk", - "version": "2.0.0-alpha.2", + "version": "2.0.0-alpha.3", "description": "", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -30,6 +30,11 @@ "typedoc-plugin-missing-exports": "^3.0.0", "@fermyon/knitwit": "https://github.com/fermyon/knitwit" }, + "files": [ + "lib", + "bin", + "plugins" + ], "config": { "wit": "test", "knitwit": { diff --git a/templates/http-ts/content/package.json b/templates/http-ts/content/package.json index a6a37c01..f651adcc 100644 --- a/templates/http-ts/content/package.json +++ b/templates/http-ts/content/package.json @@ -20,6 +20,6 @@ "@fermyon/knitwit": "https://github.com/fermyon/knitwit" }, "dependencies": { - "@fermyon/spin-sdk": "^2.0.0-alpha.2" + "@fermyon/spin-sdk": "^2.0.0-alpha.3" } } \ No newline at end of file