Skip to content

Commit c7b1777

Browse files
committed
make spin2 default and bump patch version
Signed-off-by: karthik2804 <[email protected]>
1 parent cbcd776 commit c7b1777

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fermyon/spin-sdk",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "",
55
"main": "lib/index.js",
66
"typings": "lib/index.d.ts",
@@ -13,7 +13,7 @@
1313
"fmt-check": "prettier --check \"src/**/*.{ts,tsx,js,jsx}\"",
1414
"build": "tsc && cp -r src/types ./lib/",
1515
"build-docs": "typedoc --plugin typedoc-plugin-missing-exports src/index.ts --out ./docs --excludeExternals --readme none",
16-
"postinstall": "knitwit-postinstall --wit-path ../../bin/wit --world spin3-imports",
16+
"postinstall": "knitwit-postinstall --wit-path ../../bin/wit --world spin-imports",
1717
"fmt-examples": "prettier --write \"examples/**/*.{ts,tsx,js,jsx}\" --ignore-patterm \"node_modules\""
1818
},
1919
"sideEffects": false,

src/postgresv3.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* PostgresV3 enables interacting with a Postgres database using Spin's v3 interface.
3+
* To use this module you need to add `spin3-imports` to your `knitwit.json` file and run
4+
* `npx knitwit`.
5+
*
6+
* @module PostgresV3
7+
*/
8+
19
//@ts-ignore
210
import * as spinPg from 'spin:postgres/[email protected]';
311

0 commit comments

Comments
 (0)