@feathery/react 1.0.456 → 1.0.459

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.
@@ -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.456",
3
+ "version": "1.0.459",
4
4
  "description": "React library for Feathery",
5
5
  "author": "Boyang Dun",
6
6
  "license": "MIT",
@@ -15,6 +15,7 @@
15
15
  "build:node": "webpack --mode production --config webpack.node.js",
16
16
  "build:umd": "webpack --mode production --config webpack.umd.js",
17
17
  "dev": "webpack --mode development --config webpack.development.js --watch",
18
+ "analyze-bundle": "webpack --mode development --config webpack.development.js --env analyze",
18
19
  "prepublishOnly": "yarn build",
19
20
  "test": "jest --coverage",
20
21
  "lint": "eslint ."
@@ -29,7 +30,7 @@
29
30
  "@babel/preset-env": "^7.12.11",
30
31
  "@babel/preset-react": "^7.18.6",
31
32
  "@babel/preset-typescript": "^7.18.6",
32
- "@testing-library/react": "^12.1.0",
33
+ "@testing-library/react": "^12.1.2",
33
34
  "@testing-library/user-event": "^13.2.1",
34
35
  "@types/jest": "^28.1.6",
35
36
  "@types/react": "^17",
@@ -81,7 +82,8 @@
81
82
  "@emotion/react": "^11.9.3",
82
83
  "@emotion/styled": "^11.9.3",
83
84
  "@fingerprintjs/fingerprintjs": "^3.1.0",
84
- "libphonenumber-js": "^1.10.12",
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",
@@ -92,7 +94,7 @@
92
94
  "react-imask": "^6.2.2",
93
95
  "react-load-script": "^0.0.6",
94
96
  "react-router-dom": "^5.2.0",
95
- "react-signature-canvas": "^1.0.3",
97
+ "react-signature-canvas": "^1.0.5",
96
98
  "react-visibility-sensor": "^5.1.1",
97
99
  "sass": "^1.49.11",
98
100
  "scriptjs": "^2.5.9",