@funkit/connect-rn 9.6.0 → 9.6.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/CHANGELOG.md +9 -0
- package/dist/index.js +326 -243
- package/dist/index.js.map +3 -3
- package/dist/src/fiat/providers/stripe/stripeCheckout.d.ts +1 -0
- package/dist/src/fiat/providers/stripe/stripeCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeErrorDetail.d.ts.map +1 -1
- package/dist/src/flow/FlowSheet.d.ts +3 -1
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -24,5 +24,6 @@ export declare function matchStripeCheckoutParams(surface: Surface): StripeCheck
|
|
|
24
24
|
* the first secret it receives.
|
|
25
25
|
*/
|
|
26
26
|
export declare function stripeCheckoutAdapter(stripe: StripeOnrampClient, requestClientSecret: CheckoutClientSecretRequest): SurfaceAdapter;
|
|
27
|
+
export declare function performStripeCheckout(stripe: StripeOnrampClient, params: StripeCheckoutParams, requestClientSecret: CheckoutClientSecretRequest): Promise<void>;
|
|
27
28
|
export {};
|
|
28
29
|
//# sourceMappingURL=stripeCheckout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripeCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/stripe/stripeCheckout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stripeCheckout.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/stripe/stripeCheckout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAKnD,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,YAAY,CAAA;AAEhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAGxD,UAAU,oBAAoB;IAC5B,MAAM,EAAE,kBAAkB,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;CACxB;AAED,wEAAwE;AACxE,MAAM,MAAM,2BAA2B,GAAG,CAAC,MAAM,EAAE;IACjD,gBAAgB,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;CACxB,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;AAErB,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,OAAO,GACf,oBAAoB,GAAG,SAAS,CAqBlC;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,kBAAkB,EAC1B,mBAAmB,EAAE,2BAA2B,GAC/C,cAAc,CAkBhB;AAgED,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,kBAAkB,EAC1B,MAAM,EAAE,oBAAoB,EAC5B,mBAAmB,EAAE,2BAA2B,GAC/C,OAAO,CAAC,IAAI,CAAC,CAqDf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripeErrorDetail.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/stripe/stripeErrorDetail.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"stripeErrorDetail.d.ts","sourceRoot":"","sources":["../../../../../src/fiat/providers/stripe/stripeErrorDetail.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAqCzE"}
|
|
@@ -45,6 +45,8 @@ export interface FlowSheetProps {
|
|
|
45
45
|
* identity.
|
|
46
46
|
*/
|
|
47
47
|
insetDetents?: number[];
|
|
48
|
+
/** Keep one surface while the amount step resizes into an inset confirmation. */
|
|
49
|
+
resizeInPlace?: boolean;
|
|
48
50
|
/**
|
|
49
51
|
* Draw the sheet as bare material rather than a panel — the V2 deposit
|
|
50
52
|
* surface, which the design lays over the host app. See
|
|
@@ -59,7 +61,7 @@ export interface FlowSheetProps {
|
|
|
59
61
|
onIndexChange?: (index: number) => void;
|
|
60
62
|
controlRef?: Ref<FlowSheetControl>;
|
|
61
63
|
}
|
|
62
|
-
export declare function FlowSheet({ isOpen, session, onClose, content, children, keyboardAvoidEnabled, enableSwipeToDismiss, dismissLocked, fullHeight, insetDetents, glass, hidden, animateTransitions, onIndexChange, controlRef, }: FlowSheetProps): import("react").JSX.Element;
|
|
64
|
+
export declare function FlowSheet({ isOpen, session, onClose, content, children, keyboardAvoidEnabled, enableSwipeToDismiss, dismissLocked, fullHeight, insetDetents, resizeInPlace, glass, hidden, animateTransitions, onIndexChange, controlRef, }: FlowSheetProps): import("react").JSX.Element;
|
|
63
65
|
/**
|
|
64
66
|
* Sheet surface for the flow modal. gorhom sizes the sheet body to its content,
|
|
65
67
|
* so a flat background fills only the content area; over-dragging the sheet
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowSheet.d.ts","sourceRoot":"","sources":["../../../src/flow/FlowSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,0BAA0B,EAMhC,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"FlowSheet.d.ts","sourceRoot":"","sources":["../../../src/flow/FlowSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,0BAA0B,EAMhC,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,GAAG,EAQT,MAAM,OAAO,CAAA;AAoCd,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAI5D;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,SAAS,CAAA;AAElD,MAAM,WAAW,cAA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A0B,GAAG;IAC9B,wEAAwE;IACxE,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,+BA2BA;AAkBD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,+BAUvE;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,0BAA0B,+BAU5E;AAOD,eAAO,MAAM,kBAAkB,KAAK,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect-rn",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.1",
|
|
4
4
|
"description": "React Native bindings for @funkit/connect. Re-exports the headless @funkit/connect-core logic; the RN platform halves (Restyle theme, WebView Swapped transport, Transfer/Swapped screens, logging) land in later releases.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"libphonenumber-js": "1.13.6",
|
|
55
55
|
"qrcode": "1.5.4",
|
|
56
56
|
"react-i18next": "12.3.1",
|
|
57
|
-
"@funkit/api-base": "9.1.
|
|
57
|
+
"@funkit/api-base": "9.1.1",
|
|
58
58
|
"@funkit/chains": "2.6.0",
|
|
59
|
-
"@funkit/connect-core": "10.0.
|
|
59
|
+
"@funkit/connect-core": "10.0.1",
|
|
60
60
|
"@funkit/utils": "5.1.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|