@feathery/react 1.0.458 → 1.0.461
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/dist/elements/index.d.ts +4 -0
- package/dist/elements/index.d.ts.map +1 -1
- package/dist/form/Form.d.ts.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/utils.d.ts +46 -0
- package/dist/integrations/utils.d.ts.map +1 -0
- package/package.json +4 -2
- package/umd/index.js +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { sendLoginCode, verifySMSCode } from './firebase';
|
|
2
|
+
import { sendMagicLink } from './stytch';
|
|
3
|
+
import { setupPaymentMethod } from './stripe';
|
|
4
|
+
export declare function dynamicImport(dependencies: any, parallel?: boolean, index?: number): any;
|
|
5
|
+
export declare function initializeIntegrations(integrations: any, clientArg: any): Promise<void>;
|
|
6
|
+
export declare function inferEmailLoginFromURL(featheryClient: any): void;
|
|
7
|
+
export interface ActionData {
|
|
8
|
+
fieldVal: any;
|
|
9
|
+
servar: any;
|
|
10
|
+
client: any;
|
|
11
|
+
formattedFields: any;
|
|
12
|
+
updateFieldValues: any;
|
|
13
|
+
step: any;
|
|
14
|
+
integrationData: any;
|
|
15
|
+
targetElement: any;
|
|
16
|
+
}
|
|
17
|
+
export declare function getIntegrationActionConfiguration(getCardElement: any): ({
|
|
18
|
+
servarType: string;
|
|
19
|
+
integrationKey: string;
|
|
20
|
+
actionFn: typeof setupPaymentMethod;
|
|
21
|
+
targetElementFn: any;
|
|
22
|
+
continue: boolean;
|
|
23
|
+
isMatch?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
servarType: string;
|
|
26
|
+
integrationKey: string;
|
|
27
|
+
actionFn: typeof sendMagicLink;
|
|
28
|
+
continue: boolean;
|
|
29
|
+
targetElementFn?: undefined;
|
|
30
|
+
isMatch?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
servarType: string;
|
|
33
|
+
integrationKey: string;
|
|
34
|
+
actionFn: typeof sendLoginCode;
|
|
35
|
+
continue: boolean;
|
|
36
|
+
targetElementFn?: undefined;
|
|
37
|
+
isMatch?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
servarType: string;
|
|
40
|
+
integrationKey: string;
|
|
41
|
+
isMatch: ({ servar }: ActionData) => any;
|
|
42
|
+
actionFn: typeof verifySMSCode;
|
|
43
|
+
continue: boolean;
|
|
44
|
+
targetElementFn?: undefined;
|
|
45
|
+
})[];
|
|
46
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/integrations/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,aAAa,EACb,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,OAAO,EAGL,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAiB,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAO7D,wBAAgB,aAAa,CAC3B,YAAY,EAAE,GAAG,EACjB,QAAQ,UAAO,EACf,KAAK,SAAI,GACR,GAAG,CAsBL;AAED,wBAAsB,sBAAsB,CAC1C,YAAY,EAAE,GAAG,EACjB,SAAS,EAAE,GAAG,iBAiBf;AAED,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,GAAG,QAOzD;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,GAAG,CAAC;IACd,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,GAAG,CAAC;IACZ,eAAe,EAAE,GAAG,CAAC;IACrB,iBAAiB,EAAE,GAAG,CAAC;IACvB,IAAI,EAAE,GAAG,CAAC;IACV,eAAe,EAAE,GAAG,CAAC;IACrB,aAAa,EAAE,GAAG,CAAC;CACpB;AAGD,wBAAgB,iCAAiC,CAAC,cAAc,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;0BAwBzC,UAAU;;;;KAKrC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feathery/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.461",
|
|
4
4
|
"description": "React library for Feathery",
|
|
5
5
|
"author": "Boyang Dun",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@babel/preset-env": "^7.12.11",
|
|
31
31
|
"@babel/preset-react": "^7.18.6",
|
|
32
32
|
"@babel/preset-typescript": "^7.18.6",
|
|
33
|
-
"@testing-library/react": "^12.1.
|
|
33
|
+
"@testing-library/react": "^12.1.2",
|
|
34
34
|
"@testing-library/user-event": "^13.2.1",
|
|
35
35
|
"@types/jest": "^28.1.6",
|
|
36
36
|
"@types/react": "^17",
|
|
@@ -82,6 +82,8 @@
|
|
|
82
82
|
"@emotion/react": "^11.9.3",
|
|
83
83
|
"@emotion/styled": "^11.9.3",
|
|
84
84
|
"@fingerprintjs/fingerprintjs": "^3.1.0",
|
|
85
|
+
"@stripe/react-stripe-js": "^1.10.0",
|
|
86
|
+
"@stripe/stripe-js": "^1.35.0",
|
|
85
87
|
"lodash.debounce": "^4.0.8",
|
|
86
88
|
"quill-delta": "^4.2.2",
|
|
87
89
|
"react-bootstrap": "^1.6.1",
|