seam 0.64.0 → 0.65.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/index.d.ts +3 -2
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +5 -4
- package/src/index.ts +8 -2
package/README.md
CHANGED
|
@@ -420,8 +420,8 @@ This API is used internally and is not directly supported.
|
|
|
420
420
|
|
|
421
421
|
#### Inspecting the Request
|
|
422
422
|
|
|
423
|
-
All client methods return an instance of `
|
|
424
|
-
Inspect the request before it is sent to the server by intentionally not awaiting the `
|
|
423
|
+
All client methods return an instance of `SeamHttpRequest`.
|
|
424
|
+
Inspect the request before it is sent to the server by intentionally not awaiting the `SeamHttpRequest`:
|
|
425
425
|
|
|
426
426
|
```ts
|
|
427
427
|
const seam = new Seam('your-api-key')
|
package/dist/index.cjs
CHANGED
|
@@ -9,6 +9,10 @@ Object.defineProperty(exports, "Seam", {
|
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () { return connect.SeamHttp; }
|
|
11
11
|
});
|
|
12
|
+
Object.defineProperty(exports, "SeamMultiWorkspace", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return connect.SeamHttpMultiWorkspace; }
|
|
15
|
+
});
|
|
12
16
|
Object.keys(connect).forEach(function (k) {
|
|
13
17
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
14
18
|
enumerable: true,
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";AAAA;AAAA,EACE,YAAY;AAAA,EACZ,0BAA0B;AAAA,OAGrB;AAEP,cAAc;AAEd,cAAc","sourcesContent":["import {\n SeamHttp as Seam,\n SeamHttpMultiWorkspace as SeamMultiWorkspace,\n type SeamHttpMultiWorkspaceOptions as SeamMultiWorkspaceOptions,\n type SeamHttpOptions as SeamOptions,\n} from '@seamapi/http/connect'\n\nexport * from '@seamapi/http/connect'\nexport type * from '@seamapi/types/connect'\nexport * from '@seamapi/webhook'\nexport { Seam, SeamMultiWorkspace }\nexport type { SeamMultiWorkspaceOptions, SeamOptions }\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from '@seamapi/http/connect';
|
|
2
|
-
export { SeamHttp as Seam } from '@seamapi/http/connect';
|
|
2
|
+
export { SeamHttp as Seam, SeamHttpMultiWorkspace as SeamMultiWorkspace, SeamHttpMultiWorkspaceOptions as SeamMultiWorkspaceOptions, SeamHttpOptions as SeamOptions } from '@seamapi/http/connect';
|
|
3
3
|
export * from '@seamapi/types/connect';
|
|
4
4
|
export * from '@seamapi/webhook';
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { SeamHttp as Seam } from '@seamapi/http/connect';
|
|
1
|
+
import { SeamHttp as Seam, SeamHttpMultiWorkspace as SeamMultiWorkspace, type SeamHttpMultiWorkspaceOptions as SeamMultiWorkspaceOptions, type SeamHttpOptions as SeamOptions } from '@seamapi/http/connect';
|
|
2
2
|
export * from '@seamapi/http/connect';
|
|
3
3
|
export type * from '@seamapi/types/connect';
|
|
4
4
|
export * from '@seamapi/webhook';
|
|
5
|
-
export { Seam };
|
|
5
|
+
export { Seam, SeamMultiWorkspace };
|
|
6
|
+
export type { SeamMultiWorkspaceOptions, SeamOptions };
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SeamHttp as Seam } from '@seamapi/http/connect';
|
|
1
|
+
import { SeamHttp as Seam, SeamHttpMultiWorkspace as SeamMultiWorkspace, } from '@seamapi/http/connect';
|
|
2
2
|
export * from '@seamapi/http/connect';
|
|
3
3
|
export * from '@seamapi/webhook';
|
|
4
|
-
export { Seam };
|
|
4
|
+
export { Seam, SeamMultiWorkspace };
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,IAAI,IAAI,EAChB,sBAAsB,IAAI,kBAAkB,GAG7C,MAAM,uBAAuB,CAAA;AAE9B,cAAc,uBAAuB,CAAA;AAErC,cAAc,kBAAkB,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seam",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.65.1",
|
|
4
4
|
"description": "JavaScript SDK for the Seam API written in TypeScript.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -52,8 +52,9 @@
|
|
|
52
52
|
"lint": "eslint --ignore-path .gitignore .",
|
|
53
53
|
"prelint": "prettier --check --ignore-path .gitignore .",
|
|
54
54
|
"postversion": "git push --follow-tags",
|
|
55
|
-
"generate": "
|
|
56
|
-
"
|
|
55
|
+
"generate": "markdown-toc -i README.md --bullets '-'",
|
|
56
|
+
"pregenerate": "tsx generate-readme.ts",
|
|
57
|
+
"postgenerate": "prettier --write README.md",
|
|
57
58
|
"example": "tsx examples",
|
|
58
59
|
"example:inspect": "tsx --inspect examples",
|
|
59
60
|
"format": "eslint --ignore-path .gitignore --fix .",
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
},
|
|
66
67
|
"dependencies": {
|
|
67
68
|
"@seamapi/http": "1.0.0-rc.0",
|
|
68
|
-
"@seamapi/types": "1.
|
|
69
|
+
"@seamapi/types": "1.169.0",
|
|
69
70
|
"@seamapi/webhook": "1.0.0-rc.1",
|
|
70
71
|
"seamapi-types": "1.42.0",
|
|
71
72
|
"zod": "^3.21.4"
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
SeamHttp as Seam,
|
|
3
|
+
SeamHttpMultiWorkspace as SeamMultiWorkspace,
|
|
4
|
+
type SeamHttpMultiWorkspaceOptions as SeamMultiWorkspaceOptions,
|
|
5
|
+
type SeamHttpOptions as SeamOptions,
|
|
6
|
+
} from '@seamapi/http/connect'
|
|
2
7
|
|
|
3
8
|
export * from '@seamapi/http/connect'
|
|
4
9
|
export type * from '@seamapi/types/connect'
|
|
5
10
|
export * from '@seamapi/webhook'
|
|
6
|
-
export { Seam }
|
|
11
|
+
export { Seam, SeamMultiWorkspace }
|
|
12
|
+
export type { SeamMultiWorkspaceOptions, SeamOptions }
|