@contractspec/example.integration-stripe 3.1.1 → 3.3.0
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/.turbo/turbo-build.log +33 -30
- package/CHANGELOG.md +27 -0
- package/dist/browser/index.js +26 -1
- package/dist/browser/integration-stripe.feature.js +26 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +26 -1
- package/dist/integration-stripe.feature.d.ts +1 -0
- package/dist/integration-stripe.feature.js +27 -0
- package/dist/node/index.js +26 -1
- package/dist/node/integration-stripe.feature.js +26 -0
- package/package.json +20 -6
- package/src/index.ts +1 -0
- package/src/integration-stripe.feature.ts +28 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,40 +2,43 @@ $ contractspec-bun-build prebuild
|
|
|
2
2
|
$ bun run prebuild && bun run build:bundle && bun run build:types
|
|
3
3
|
$ contractspec-bun-build prebuild
|
|
4
4
|
$ contractspec-bun-build transpile
|
|
5
|
-
[contractspec-bun-build] transpile target=bun root=src entries=
|
|
6
|
-
Bundled
|
|
5
|
+
[contractspec-bun-build] transpile target=bun root=src entries=9
|
|
6
|
+
Bundled 9 modules in 15ms
|
|
7
7
|
|
|
8
|
-
./blueprint.js
|
|
9
|
-
./index.js
|
|
10
|
-
./
|
|
11
|
-
|
|
12
|
-
docs/
|
|
13
|
-
|
|
14
|
-
./
|
|
15
|
-
./
|
|
8
|
+
./blueprint.js 1.77 KB (entry point)
|
|
9
|
+
./index.js 8.59 KB (entry point)
|
|
10
|
+
./workflow.js 1.42 KB (entry point)
|
|
11
|
+
./connection.sample.js 0.58 KB (entry point)
|
|
12
|
+
docs/index.js 1.59 KB (entry point)
|
|
13
|
+
docs/integration-stripe.docblock.js 1.59 KB (entry point)
|
|
14
|
+
./example.js 1.0 KB (entry point)
|
|
15
|
+
./integration-stripe.feature.js 0.90 KB (entry point)
|
|
16
|
+
./tenant.js 1.34 KB (entry point)
|
|
16
17
|
|
|
17
|
-
[contractspec-bun-build] transpile target=node root=src entries=
|
|
18
|
-
Bundled
|
|
18
|
+
[contractspec-bun-build] transpile target=node root=src entries=9
|
|
19
|
+
Bundled 9 modules in 33ms
|
|
19
20
|
|
|
20
|
-
./blueprint.js
|
|
21
|
-
./index.js
|
|
22
|
-
./
|
|
23
|
-
|
|
24
|
-
docs/
|
|
25
|
-
|
|
26
|
-
./
|
|
27
|
-
./
|
|
21
|
+
./blueprint.js 1.77 KB (entry point)
|
|
22
|
+
./index.js 8.57 KB (entry point)
|
|
23
|
+
./workflow.js 1.41 KB (entry point)
|
|
24
|
+
./connection.sample.js 0.57 KB (entry point)
|
|
25
|
+
docs/index.js 1.57 KB (entry point)
|
|
26
|
+
docs/integration-stripe.docblock.js 1.57 KB (entry point)
|
|
27
|
+
./example.js 1.0 KB (entry point)
|
|
28
|
+
./integration-stripe.feature.js 0.89 KB (entry point)
|
|
29
|
+
./tenant.js 1.33 KB (entry point)
|
|
28
30
|
|
|
29
|
-
[contractspec-bun-build] transpile target=browser root=src entries=
|
|
30
|
-
Bundled
|
|
31
|
+
[contractspec-bun-build] transpile target=browser root=src entries=9
|
|
32
|
+
Bundled 9 modules in 43ms
|
|
31
33
|
|
|
32
|
-
./blueprint.js
|
|
33
|
-
./index.js
|
|
34
|
-
./
|
|
35
|
-
|
|
36
|
-
docs/
|
|
37
|
-
|
|
38
|
-
./
|
|
39
|
-
./
|
|
34
|
+
./blueprint.js 1.77 KB (entry point)
|
|
35
|
+
./index.js 8.57 KB (entry point)
|
|
36
|
+
./workflow.js 1.41 KB (entry point)
|
|
37
|
+
./connection.sample.js 0.57 KB (entry point)
|
|
38
|
+
docs/index.js 1.57 KB (entry point)
|
|
39
|
+
docs/integration-stripe.docblock.js 1.57 KB (entry point)
|
|
40
|
+
./example.js 1.0 KB (entry point)
|
|
41
|
+
./integration-stripe.feature.js 0.89 KB (entry point)
|
|
42
|
+
./tenant.js 1.33 KB (entry point)
|
|
40
43
|
|
|
41
44
|
$ contractspec-bun-build types
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @contractspec/example.integration-stripe
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 890a0da: fix: stability improvements
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [890a0da]
|
|
12
|
+
- Updated dependencies [575b316]
|
|
13
|
+
- @contractspec/lib.contracts-integrations@3.3.0
|
|
14
|
+
- @contractspec/lib.contracts-spec@3.3.0
|
|
15
|
+
- @contractspec/lib.schema@3.3.0
|
|
16
|
+
|
|
17
|
+
## 3.2.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- a281fc5: fix: missing dependencies
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [a281fc5]
|
|
26
|
+
- @contractspec/lib.contracts-integrations@3.2.0
|
|
27
|
+
- @contractspec/lib.contracts-spec@3.2.0
|
|
28
|
+
- @contractspec/lib.schema@3.2.0
|
|
29
|
+
|
|
3
30
|
## 3.1.1
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/dist/browser/index.js
CHANGED
|
@@ -252,10 +252,35 @@ var artisanStripeTenantConfig = {
|
|
|
252
252
|
},
|
|
253
253
|
notes: "Stripe connection bound for production payments."
|
|
254
254
|
};
|
|
255
|
+
|
|
256
|
+
// src/integration-stripe.feature.ts
|
|
257
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
258
|
+
var IntegrationStripeFeature = defineFeature({
|
|
259
|
+
meta: {
|
|
260
|
+
key: "integration-stripe",
|
|
261
|
+
version: "1.0.0",
|
|
262
|
+
title: "Stripe Payments Integration",
|
|
263
|
+
description: "Stripe payments integration with blueprint, workflow, and tenant configuration",
|
|
264
|
+
domain: "integration",
|
|
265
|
+
owners: ["@integration-team"],
|
|
266
|
+
tags: ["integration", "stripe", "payments"],
|
|
267
|
+
stability: "experimental"
|
|
268
|
+
},
|
|
269
|
+
integrations: [
|
|
270
|
+
{ key: "integration-stripe.integration.psp", version: "1.0.0" }
|
|
271
|
+
],
|
|
272
|
+
workflows: [{ key: "integration-stripe.workflow.payment", version: "1.0.0" }],
|
|
273
|
+
policies: [{ key: "integration-stripe.policy.payments", version: "1.0.0" }],
|
|
274
|
+
docs: [
|
|
275
|
+
"docs.examples.integration-stripe",
|
|
276
|
+
"docs.examples.integration-stripe.usage"
|
|
277
|
+
]
|
|
278
|
+
});
|
|
255
279
|
export {
|
|
256
280
|
stripeLiveConnection,
|
|
257
281
|
example_default as example,
|
|
258
282
|
collectPaymentWorkflow,
|
|
259
283
|
artisanStripeTenantConfig,
|
|
260
|
-
artisanStripeBlueprint
|
|
284
|
+
artisanStripeBlueprint,
|
|
285
|
+
IntegrationStripeFeature
|
|
261
286
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// src/integration-stripe.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var IntegrationStripeFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "integration-stripe",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Stripe Payments Integration",
|
|
8
|
+
description: "Stripe payments integration with blueprint, workflow, and tenant configuration",
|
|
9
|
+
domain: "integration",
|
|
10
|
+
owners: ["@integration-team"],
|
|
11
|
+
tags: ["integration", "stripe", "payments"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
integrations: [
|
|
15
|
+
{ key: "integration-stripe.integration.psp", version: "1.0.0" }
|
|
16
|
+
],
|
|
17
|
+
workflows: [{ key: "integration-stripe.workflow.payment", version: "1.0.0" }],
|
|
18
|
+
policies: [{ key: "integration-stripe.policy.payments", version: "1.0.0" }],
|
|
19
|
+
docs: [
|
|
20
|
+
"docs.examples.integration-stripe",
|
|
21
|
+
"docs.examples.integration-stripe.usage"
|
|
22
|
+
]
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
IntegrationStripeFeature
|
|
26
|
+
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -253,10 +253,35 @@ var artisanStripeTenantConfig = {
|
|
|
253
253
|
},
|
|
254
254
|
notes: "Stripe connection bound for production payments."
|
|
255
255
|
};
|
|
256
|
+
|
|
257
|
+
// src/integration-stripe.feature.ts
|
|
258
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
259
|
+
var IntegrationStripeFeature = defineFeature({
|
|
260
|
+
meta: {
|
|
261
|
+
key: "integration-stripe",
|
|
262
|
+
version: "1.0.0",
|
|
263
|
+
title: "Stripe Payments Integration",
|
|
264
|
+
description: "Stripe payments integration with blueprint, workflow, and tenant configuration",
|
|
265
|
+
domain: "integration",
|
|
266
|
+
owners: ["@integration-team"],
|
|
267
|
+
tags: ["integration", "stripe", "payments"],
|
|
268
|
+
stability: "experimental"
|
|
269
|
+
},
|
|
270
|
+
integrations: [
|
|
271
|
+
{ key: "integration-stripe.integration.psp", version: "1.0.0" }
|
|
272
|
+
],
|
|
273
|
+
workflows: [{ key: "integration-stripe.workflow.payment", version: "1.0.0" }],
|
|
274
|
+
policies: [{ key: "integration-stripe.policy.payments", version: "1.0.0" }],
|
|
275
|
+
docs: [
|
|
276
|
+
"docs.examples.integration-stripe",
|
|
277
|
+
"docs.examples.integration-stripe.usage"
|
|
278
|
+
]
|
|
279
|
+
});
|
|
256
280
|
export {
|
|
257
281
|
stripeLiveConnection,
|
|
258
282
|
example_default as example,
|
|
259
283
|
collectPaymentWorkflow,
|
|
260
284
|
artisanStripeTenantConfig,
|
|
261
|
-
artisanStripeBlueprint
|
|
285
|
+
artisanStripeBlueprint,
|
|
286
|
+
IntegrationStripeFeature
|
|
262
287
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IntegrationStripeFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/integration-stripe.feature.ts
|
|
3
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
var IntegrationStripeFeature = defineFeature({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "integration-stripe",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
title: "Stripe Payments Integration",
|
|
9
|
+
description: "Stripe payments integration with blueprint, workflow, and tenant configuration",
|
|
10
|
+
domain: "integration",
|
|
11
|
+
owners: ["@integration-team"],
|
|
12
|
+
tags: ["integration", "stripe", "payments"],
|
|
13
|
+
stability: "experimental"
|
|
14
|
+
},
|
|
15
|
+
integrations: [
|
|
16
|
+
{ key: "integration-stripe.integration.psp", version: "1.0.0" }
|
|
17
|
+
],
|
|
18
|
+
workflows: [{ key: "integration-stripe.workflow.payment", version: "1.0.0" }],
|
|
19
|
+
policies: [{ key: "integration-stripe.policy.payments", version: "1.0.0" }],
|
|
20
|
+
docs: [
|
|
21
|
+
"docs.examples.integration-stripe",
|
|
22
|
+
"docs.examples.integration-stripe.usage"
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
IntegrationStripeFeature
|
|
27
|
+
};
|
package/dist/node/index.js
CHANGED
|
@@ -252,10 +252,35 @@ var artisanStripeTenantConfig = {
|
|
|
252
252
|
},
|
|
253
253
|
notes: "Stripe connection bound for production payments."
|
|
254
254
|
};
|
|
255
|
+
|
|
256
|
+
// src/integration-stripe.feature.ts
|
|
257
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
258
|
+
var IntegrationStripeFeature = defineFeature({
|
|
259
|
+
meta: {
|
|
260
|
+
key: "integration-stripe",
|
|
261
|
+
version: "1.0.0",
|
|
262
|
+
title: "Stripe Payments Integration",
|
|
263
|
+
description: "Stripe payments integration with blueprint, workflow, and tenant configuration",
|
|
264
|
+
domain: "integration",
|
|
265
|
+
owners: ["@integration-team"],
|
|
266
|
+
tags: ["integration", "stripe", "payments"],
|
|
267
|
+
stability: "experimental"
|
|
268
|
+
},
|
|
269
|
+
integrations: [
|
|
270
|
+
{ key: "integration-stripe.integration.psp", version: "1.0.0" }
|
|
271
|
+
],
|
|
272
|
+
workflows: [{ key: "integration-stripe.workflow.payment", version: "1.0.0" }],
|
|
273
|
+
policies: [{ key: "integration-stripe.policy.payments", version: "1.0.0" }],
|
|
274
|
+
docs: [
|
|
275
|
+
"docs.examples.integration-stripe",
|
|
276
|
+
"docs.examples.integration-stripe.usage"
|
|
277
|
+
]
|
|
278
|
+
});
|
|
255
279
|
export {
|
|
256
280
|
stripeLiveConnection,
|
|
257
281
|
example_default as example,
|
|
258
282
|
collectPaymentWorkflow,
|
|
259
283
|
artisanStripeTenantConfig,
|
|
260
|
-
artisanStripeBlueprint
|
|
284
|
+
artisanStripeBlueprint,
|
|
285
|
+
IntegrationStripeFeature
|
|
261
286
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// src/integration-stripe.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var IntegrationStripeFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "integration-stripe",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Stripe Payments Integration",
|
|
8
|
+
description: "Stripe payments integration with blueprint, workflow, and tenant configuration",
|
|
9
|
+
domain: "integration",
|
|
10
|
+
owners: ["@integration-team"],
|
|
11
|
+
tags: ["integration", "stripe", "payments"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
integrations: [
|
|
15
|
+
{ key: "integration-stripe.integration.psp", version: "1.0.0" }
|
|
16
|
+
],
|
|
17
|
+
workflows: [{ key: "integration-stripe.workflow.payment", version: "1.0.0" }],
|
|
18
|
+
policies: [{ key: "integration-stripe.policy.payments", version: "1.0.0" }],
|
|
19
|
+
docs: [
|
|
20
|
+
"docs.examples.integration-stripe",
|
|
21
|
+
"docs.examples.integration-stripe.usage"
|
|
22
|
+
]
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
IntegrationStripeFeature
|
|
26
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.integration-stripe",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Integration example – Stripe Payments (blueprint + workflow + tenant config).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -54,6 +54,13 @@
|
|
|
54
54
|
"browser": "./dist/browser/example.js",
|
|
55
55
|
"default": "./dist/example.js"
|
|
56
56
|
},
|
|
57
|
+
"./integration-stripe.feature": {
|
|
58
|
+
"types": "./dist/integration-stripe.feature.d.ts",
|
|
59
|
+
"bun": "./dist/integration-stripe.feature.js",
|
|
60
|
+
"node": "./dist/node/integration-stripe.feature.js",
|
|
61
|
+
"browser": "./dist/browser/integration-stripe.feature.js",
|
|
62
|
+
"default": "./dist/integration-stripe.feature.js"
|
|
63
|
+
},
|
|
57
64
|
"./tenant": {
|
|
58
65
|
"types": "./dist/tenant.d.ts",
|
|
59
66
|
"bun": "./dist/tenant.js",
|
|
@@ -85,14 +92,14 @@
|
|
|
85
92
|
"typecheck": "tsc --noEmit"
|
|
86
93
|
},
|
|
87
94
|
"dependencies": {
|
|
88
|
-
"@contractspec/lib.schema": "3.
|
|
89
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
90
|
-
"@contractspec/lib.contracts-integrations": "3.
|
|
95
|
+
"@contractspec/lib.schema": "3.3.0",
|
|
96
|
+
"@contractspec/lib.contracts-spec": "3.3.0",
|
|
97
|
+
"@contractspec/lib.contracts-integrations": "3.3.0"
|
|
91
98
|
},
|
|
92
99
|
"devDependencies": {
|
|
93
|
-
"@contractspec/tool.typescript": "3.
|
|
100
|
+
"@contractspec/tool.typescript": "3.3.0",
|
|
94
101
|
"typescript": "^5.9.3",
|
|
95
|
-
"@contractspec/tool.bun": "3.
|
|
102
|
+
"@contractspec/tool.bun": "3.3.0"
|
|
96
103
|
},
|
|
97
104
|
"publishConfig": {
|
|
98
105
|
"access": "public",
|
|
@@ -146,6 +153,13 @@
|
|
|
146
153
|
"browser": "./dist/browser/example.js",
|
|
147
154
|
"default": "./dist/example.js"
|
|
148
155
|
},
|
|
156
|
+
"./integration-stripe.feature": {
|
|
157
|
+
"types": "./dist/integration-stripe.feature.d.ts",
|
|
158
|
+
"bun": "./dist/integration-stripe.feature.js",
|
|
159
|
+
"node": "./dist/node/integration-stripe.feature.js",
|
|
160
|
+
"browser": "./dist/browser/integration-stripe.feature.js",
|
|
161
|
+
"default": "./dist/integration-stripe.feature.js"
|
|
162
|
+
},
|
|
149
163
|
"./tenant": {
|
|
150
164
|
"types": "./dist/tenant.d.ts",
|
|
151
165
|
"bun": "./dist/tenant.js",
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineFeature } from '@contractspec/lib.contracts-spec';
|
|
2
|
+
|
|
3
|
+
export const IntegrationStripeFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: 'integration-stripe',
|
|
6
|
+
version: '1.0.0',
|
|
7
|
+
title: 'Stripe Payments Integration',
|
|
8
|
+
description:
|
|
9
|
+
'Stripe payments integration with blueprint, workflow, and tenant configuration',
|
|
10
|
+
domain: 'integration',
|
|
11
|
+
owners: ['@integration-team'],
|
|
12
|
+
tags: ['integration', 'stripe', 'payments'],
|
|
13
|
+
stability: 'experimental',
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
integrations: [
|
|
17
|
+
{ key: 'integration-stripe.integration.psp', version: '1.0.0' },
|
|
18
|
+
],
|
|
19
|
+
|
|
20
|
+
workflows: [{ key: 'integration-stripe.workflow.payment', version: '1.0.0' }],
|
|
21
|
+
|
|
22
|
+
policies: [{ key: 'integration-stripe.policy.payments', version: '1.0.0' }],
|
|
23
|
+
|
|
24
|
+
docs: [
|
|
25
|
+
'docs.examples.integration-stripe',
|
|
26
|
+
'docs.examples.integration-stripe.usage',
|
|
27
|
+
],
|
|
28
|
+
});
|