@fayz-ai/plugin-shop 0.16.15 → 0.17.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ConnectorDefinition, type ConnectorSetting } from '@fayz-ai/core';
|
|
1
|
+
import { type ConnectorDefinition, type ConnectorField, type ConnectorSetting } from '@fayz-ai/core';
|
|
2
2
|
export declare const STRIPE_CONNECT_CONNECTOR_ID = "stripe-connect";
|
|
3
3
|
/**
|
|
4
4
|
* Six seconds, the same budget the other two gateways carry: it is spent after
|
|
@@ -13,5 +13,16 @@ export declare const STRIPE_CONNECT_LATENCY_BUDGET_MS = 6000;
|
|
|
13
13
|
* being offered.
|
|
14
14
|
*/
|
|
15
15
|
export declare const STRIPE_CONNECT_SETTINGS: ConnectorSetting[];
|
|
16
|
+
/**
|
|
17
|
+
* The second door, for a merchant who already has a Stripe account and would
|
|
18
|
+
* rather paste its secret key than authorize the platform on it.
|
|
19
|
+
*
|
|
20
|
+
* It is the same credential the OAuth grant yields (an access token for a
|
|
21
|
+
* connected account IS a secret key), so the data plane has one code path and
|
|
22
|
+
* `readSecretKey` in stripe-runtime.js is the only thing that knows there are
|
|
23
|
+
* two sources. The platform's per-charge fee needs the grant, not the key, and
|
|
24
|
+
* is the one thing a pasted key cannot do.
|
|
25
|
+
*/
|
|
26
|
+
export declare const STRIPE_CONNECT_FIELDS: ConnectorField[];
|
|
16
27
|
export declare const stripeConnectConnectorDef: ConnectorDefinition;
|
|
17
28
|
//# sourceMappingURL=connectorDef.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorDef.d.ts","sourceRoot":"","sources":["../../../src/integrations/stripe-connect/connectorDef.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,eAAe,CAAA;AAGtB,eAAO,MAAM,2BAA2B,mBAAmB,CAAA;AAE3D;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,OAAO,CAAA;AAEpD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,gBAAgB,EAiBrD,CAAA;AAsDD,eAAO,MAAM,yBAAyB,EAAE,
|
|
1
|
+
{"version":3,"file":"connectorDef.d.ts","sourceRoot":"","sources":["../../../src/integrations/stripe-connect/connectorDef.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,eAAe,CAAA;AAGtB,eAAO,MAAM,2BAA2B,mBAAmB,CAAA;AAE3D;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,OAAO,CAAA;AAEpD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,gBAAgB,EAiBrD,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB,EAAE,cAAc,EAQjD,CAAA;AAsDD,eAAO,MAAM,yBAAyB,EAAE,mBA8EvC,CAAA"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"status": "preview",
|
|
5
5
|
"dependencies": []
|
|
6
6
|
},
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.17.0",
|
|
8
8
|
"description": "[experimental] Fayz SDK — plugin-shop plugin",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"sideEffects": false,
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@tanstack/react-table": "^8.20.0",
|
|
31
|
-
"@fayz-ai/admin": "^0.43.
|
|
32
|
-
"@fayz-ai/core": "^0.43.
|
|
33
|
-
"@fayz-ai/plugin-financial": "^0.22.
|
|
31
|
+
"@fayz-ai/admin": "^0.43.2",
|
|
32
|
+
"@fayz-ai/core": "^0.43.2",
|
|
33
|
+
"@fayz-ai/plugin-financial": "^0.22.3",
|
|
34
34
|
"@fayz-ai/plugin-inventory": "^0.15.5",
|
|
35
|
-
"@fayz-ai/shop": "^0.43.
|
|
35
|
+
"@fayz-ai/shop": "^0.43.2",
|
|
36
36
|
"@fayz-ai/ui": "^0.43.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|