@contractspec/example.integration-stripe 3.7.15 → 3.7.17

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.
@@ -1,9 +1,8 @@
1
1
  $ contractspec-bun-build prebuild
2
- $ bun run prebuild && bun run build:bundle && bun run build:types
3
- $ contractspec-bun-build prebuild
2
+ $ bun run build:bundle && bun run build:types
4
3
  $ contractspec-bun-build transpile
5
4
  [contractspec-bun-build] transpile target=bun root=src entries=10 noBundle=false
6
- Bundled 10 modules in 49ms
5
+ Bundled 10 modules in 39ms
7
6
 
8
7
  ./blueprint.js 3.35 KB (entry point)
9
8
  ./index.js 11.20 KB (entry point)
@@ -12,14 +11,14 @@ Bundled 10 modules in 49ms
12
11
  docs/index.js 1.59 KB (entry point)
13
12
  docs/integration-stripe.docblock.js 1.59 KB (entry point)
14
13
  ./example.js 1.0 KB (entry point)
15
- ./integration-stripe.feature.js 4.73 KB (entry point)
16
- ./workflow.js 1.51 KB (entry point)
14
+ ./integration-stripe.feature.js 4.74 KB (entry point)
15
+ ./workflow.js 1.52 KB (entry point)
17
16
  ./integration.js 2.35 KB (entry point)
18
17
 
19
18
  [contractspec-bun-build] transpile target=node root=src entries=10 noBundle=false
20
- Bundled 10 modules in 26ms
19
+ Bundled 10 modules in 36ms
21
20
 
22
- ./blueprint.js 3.34 KB (entry point)
21
+ ./blueprint.js 3.35 KB (entry point)
23
22
  ./index.js 11.18 KB (entry point)
24
23
  ./tenant.js 1.33 KB (entry point)
25
24
  ./connection.sample.js 2.92 KB (entry point)
@@ -31,9 +30,9 @@ Bundled 10 modules in 26ms
31
30
  ./integration.js 2.34 KB (entry point)
32
31
 
33
32
  [contractspec-bun-build] transpile target=browser root=src entries=10 noBundle=false
34
- Bundled 10 modules in 35ms
33
+ Bundled 10 modules in 26ms
35
34
 
36
- ./blueprint.js 3.34 KB (entry point)
35
+ ./blueprint.js 3.35 KB (entry point)
37
36
  ./index.js 11.18 KB (entry point)
38
37
  ./tenant.js 1.33 KB (entry point)
39
38
  ./connection.sample.js 2.92 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @contractspec/example.integration-stripe
2
2
 
3
+ ## 3.7.17
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix workflow runtime imports for sandboxed workflow execution and keep workflow authoring on safe subpaths.
8
+ - Migration: Keep Node-only workflow runner code out of "use workflow" entrypoints.
9
+ - Deprecations: Importing the broad `@contractspec/lib.contracts-spec/workflow` barrel from sandboxed workflow entrypoints is discouraged.
10
+ - Updated dependencies because of Fix workflow runtime imports for sandboxed workflow execution and keep workflow authoring on safe subpaths.
11
+ - Updated dependencies because of Add versioning-backed release capsules, generated patch notes, and guided upgrade flows.
12
+ - @contractspec/lib.contracts-integrations@3.8.9
13
+ - @contractspec/lib.contracts-spec@5.1.0
14
+ - @contractspec/lib.schema@3.7.14
15
+
16
+ ## 3.7.16
17
+
18
+ ### Patch Changes
19
+
20
+ - 2b59171: fix: crypto package issue due to nodejs only runtime
21
+ - Updated dependencies [2b59171]
22
+ - @contractspec/lib.contracts-integrations@3.8.8
23
+ - @contractspec/lib.contracts-spec@5.0.4
24
+ - @contractspec/lib.schema@3.7.13
25
+
3
26
  ## 3.7.15
4
27
 
5
28
  ### Patch Changes
package/dist/blueprint.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  StabilityEnum,
6
6
  TagsEnum
7
7
  } from "@contractspec/lib.contracts-spec/ownership";
8
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
8
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
9
9
  var collectPaymentWorkflow = defineWorkflow({
10
10
  meta: {
11
11
  key: "integration-stripe.workflow.payment",
@@ -4,7 +4,7 @@ import {
4
4
  StabilityEnum,
5
5
  TagsEnum
6
6
  } from "@contractspec/lib.contracts-spec/ownership";
7
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
7
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
8
8
  var collectPaymentWorkflow = defineWorkflow({
9
9
  meta: {
10
10
  key: "integration-stripe.workflow.payment",
@@ -4,7 +4,7 @@ import {
4
4
  StabilityEnum,
5
5
  TagsEnum
6
6
  } from "@contractspec/lib.contracts-spec/ownership";
7
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
7
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
8
8
  var collectPaymentWorkflow = defineWorkflow({
9
9
  meta: {
10
10
  key: "integration-stripe.workflow.payment",
@@ -4,7 +4,7 @@ import {
4
4
  StabilityEnum,
5
5
  TagsEnum
6
6
  } from "@contractspec/lib.contracts-spec/ownership";
7
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
7
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
8
8
  var collectPaymentWorkflow = defineWorkflow({
9
9
  meta: {
10
10
  key: "integration-stripe.workflow.payment",
@@ -4,7 +4,7 @@ import {
4
4
  StabilityEnum,
5
5
  TagsEnum
6
6
  } from "@contractspec/lib.contracts-spec/ownership";
7
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
7
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
8
8
  var collectPaymentWorkflow = defineWorkflow({
9
9
  meta: {
10
10
  key: "integration-stripe.workflow.payment",
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  StabilityEnum,
6
6
  TagsEnum
7
7
  } from "@contractspec/lib.contracts-spec/ownership";
8
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
8
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
9
9
  var collectPaymentWorkflow = defineWorkflow({
10
10
  meta: {
11
11
  key: "integration-stripe.workflow.payment",
@@ -5,7 +5,7 @@ import {
5
5
  StabilityEnum,
6
6
  TagsEnum
7
7
  } from "@contractspec/lib.contracts-spec/ownership";
8
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
8
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
9
9
  var collectPaymentWorkflow = defineWorkflow({
10
10
  meta: {
11
11
  key: "integration-stripe.workflow.payment",
@@ -4,7 +4,7 @@ import {
4
4
  StabilityEnum,
5
5
  TagsEnum
6
6
  } from "@contractspec/lib.contracts-spec/ownership";
7
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
7
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
8
8
  var collectPaymentWorkflow = defineWorkflow({
9
9
  meta: {
10
10
  key: "integration-stripe.workflow.payment",
@@ -4,7 +4,7 @@ import {
4
4
  StabilityEnum,
5
5
  TagsEnum
6
6
  } from "@contractspec/lib.contracts-spec/ownership";
7
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
7
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
8
8
  var collectPaymentWorkflow = defineWorkflow({
9
9
  meta: {
10
10
  key: "integration-stripe.workflow.payment",
@@ -4,7 +4,7 @@ import {
4
4
  StabilityEnum,
5
5
  TagsEnum
6
6
  } from "@contractspec/lib.contracts-spec/ownership";
7
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
7
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
8
8
  var collectPaymentWorkflow = defineWorkflow({
9
9
  meta: {
10
10
  key: "integration-stripe.workflow.payment",
@@ -4,7 +4,7 @@ import {
4
4
  StabilityEnum,
5
5
  TagsEnum
6
6
  } from "@contractspec/lib.contracts-spec/ownership";
7
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
7
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
8
8
  var collectPaymentWorkflow = defineWorkflow({
9
9
  meta: {
10
10
  key: "integration-stripe.workflow.payment",
@@ -1 +1 @@
1
- export declare const collectPaymentWorkflow: import("@contractspec/lib.contracts-spec/workflow").WorkflowSpec;
1
+ export declare const collectPaymentWorkflow: import("@contractspec/lib.contracts-spec/workflow/spec").WorkflowSpec;
package/dist/workflow.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  StabilityEnum,
6
6
  TagsEnum
7
7
  } from "@contractspec/lib.contracts-spec/ownership";
8
- import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow";
8
+ import { defineWorkflow } from "@contractspec/lib.contracts-spec/workflow/spec";
9
9
  var collectPaymentWorkflow = defineWorkflow({
10
10
  meta: {
11
11
  key: "integration-stripe.workflow.payment",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.integration-stripe",
3
- "version": "3.7.15",
3
+ "version": "3.7.17",
4
4
  "description": "Integration example – Stripe Payments (blueprint + workflow + tenant config).",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -79,7 +79,7 @@
79
79
  "scripts": {
80
80
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
81
81
  "publish:pkg:canary": "bun publish:pkg --tag canary",
82
- "build": "bun run prebuild && bun run build:bundle && bun run build:types",
82
+ "build": "bun run build:bundle && bun run build:types",
83
83
  "build:bundle": "contractspec-bun-build transpile",
84
84
  "build:types": "contractspec-bun-build types",
85
85
  "dev": "contractspec-bun-build dev",
@@ -92,14 +92,14 @@
92
92
  "typecheck": "tsc --noEmit"
93
93
  },
94
94
  "dependencies": {
95
- "@contractspec/lib.schema": "3.7.12",
96
- "@contractspec/lib.contracts-spec": "5.0.3",
97
- "@contractspec/lib.contracts-integrations": "3.8.7"
95
+ "@contractspec/lib.schema": "3.7.14",
96
+ "@contractspec/lib.contracts-spec": "5.1.0",
97
+ "@contractspec/lib.contracts-integrations": "3.8.9"
98
98
  },
99
99
  "devDependencies": {
100
- "@contractspec/tool.typescript": "3.7.11",
100
+ "@contractspec/tool.typescript": "3.7.13",
101
101
  "typescript": "^5.9.3",
102
- "@contractspec/tool.bun": "3.7.11"
102
+ "@contractspec/tool.bun": "3.7.13"
103
103
  },
104
104
  "publishConfig": {
105
105
  "access": "public",
package/src/workflow.ts CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  StabilityEnum,
4
4
  TagsEnum,
5
5
  } from '@contractspec/lib.contracts-spec/ownership';
6
- import { defineWorkflow } from '@contractspec/lib.contracts-spec/workflow';
6
+ import { defineWorkflow } from '@contractspec/lib.contracts-spec/workflow/spec';
7
7
 
8
8
  export const collectPaymentWorkflow = defineWorkflow({
9
9
  meta: {
@@ -1 +0,0 @@
1
- $ contractspec-bun-build prebuild