@portkey/onboarding 1.5.1 → 1.5.2

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.
@@ -13,6 +13,7 @@ const semverCompare = (verionA, versionB) => {
13
13
  return 1;
14
14
  if (snippetB > snippetA)
15
15
  return -1;
16
+ // e.g. '1.0.0-rc' -- Number('0-rc') = NaN
16
17
  if (!isNaN(snippetA) && isNaN(snippetB))
17
18
  return 1;
18
19
  if (isNaN(snippetA) && !isNaN(snippetB))
@@ -11,3 +11,5 @@ exports.EXTENSION_DOWNLOAD_URL = {
11
11
  DEFAULT: 'https://portkey.finance/download',
12
12
  };
13
13
  exports.WEB_PAGE = 'https://openlogin.portkey.finance';
14
+ // export const WEB_PAGE = 'https://openlogin-test.portkey.finance';
15
+ // export const WEB_PAGE = 'http://192.168.11.245:3000';
@@ -1,5 +1,22 @@
1
1
  import { OpenStatus } from './types';
2
+ /**
3
+ * Jump via top.location.href
4
+ * @param {string} [uri] - open
5
+ */
2
6
  export declare function evokeByLocation(uri: string): void;
7
+ /**
8
+ * Evoked by the A tag
9
+ * @param {string} uri - open url
10
+ */
3
11
  export declare function evokeByTagA(uri: string): void;
12
+ /**
13
+ * Evoked by iframe
14
+ * @param {string} [uri] - open url
15
+ */
4
16
  export declare function evokeByIFrame(uri: string): void;
17
+ /**
18
+ * Check whether the calling end is successful
19
+ * @param cb - Callback failure callback function
20
+ * @param timeout
21
+ */
5
22
  export declare function checkOpen(callback: (status: OpenStatus) => void, timeout: number): void;
@@ -8,6 +8,7 @@ function getSupportedProperty() {
8
8
  if (typeof document === 'undefined')
9
9
  return;
10
10
  if (typeof document.hidden !== 'undefined') {
11
+ // Opera 12.10 and Firefox 18 and later support
11
12
  hidden = 'hidden';
12
13
  visibilityChange = 'visibilitychange';
13
14
  }
@@ -21,6 +22,9 @@ function getSupportedProperty() {
21
22
  }
22
23
  }
23
24
  getSupportedProperty();
25
+ /**
26
+ * Determine whether the page is hidden (enter the background)
27
+ */
24
28
  function isPageHidden() {
25
29
  if (typeof document === 'undefined')
26
30
  return false;
@@ -28,13 +32,22 @@ function isPageHidden() {
28
32
  return false;
29
33
  return document[hidden];
30
34
  }
35
+ /**
36
+ * Jump via top.location.href
37
+ * @param {string} [uri] - open
38
+ */
31
39
  function evokeByLocation(uri) {
40
+ // if (typeof window === 'undefined') return;
32
41
  if (window.top)
33
42
  window.top.location.href = uri;
34
43
  else
35
44
  window.location.href = uri;
36
45
  }
37
46
  exports.evokeByLocation = evokeByLocation;
47
+ /**
48
+ * Evoked by the A tag
49
+ * @param {string} uri - open url
50
+ */
38
51
  function evokeByTagA(uri) {
39
52
  const tagA = document.createElement('a');
40
53
  tagA.setAttribute('href', uri);
@@ -43,6 +56,10 @@ function evokeByTagA(uri) {
43
56
  tagA.click();
44
57
  }
45
58
  exports.evokeByTagA = evokeByTagA;
59
+ /**
60
+ * Evoked by iframe
61
+ * @param {string} [uri] - open url
62
+ */
46
63
  function evokeByIFrame(uri) {
47
64
  if (!iframe) {
48
65
  iframe = document.createElement('iframe');
@@ -52,6 +69,11 @@ function evokeByIFrame(uri) {
52
69
  iframe.src = uri;
53
70
  }
54
71
  exports.evokeByIFrame = evokeByIFrame;
72
+ /**
73
+ * Check whether the calling end is successful
74
+ * @param cb - Callback failure callback function
75
+ * @param timeout
76
+ */
55
77
  function checkOpen(callback, timeout) {
56
78
  const timer = setTimeout(() => {
57
79
  const pageHidden = isPageHidden();
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.generateUniversalLink = exports.generateIntent = exports.generateScheme = exports.buildScheme = void 0;
4
4
  const query_string_1 = require("query-string");
5
+ // Generate basic url scheme
5
6
  function buildScheme(config, options) {
6
7
  const { path, param } = config;
7
8
  const { scheme, buildScheme: customBuildScheme } = options;
@@ -15,6 +16,7 @@ function buildScheme(config, options) {
15
16
  }, { encode: true });
16
17
  }
17
18
  exports.buildScheme = buildScheme;
19
+ // Generate the url scheme required by the business (distinguish whether it is an external link)
18
20
  function generateScheme(config, options) {
19
21
  const { outChain } = options;
20
22
  let uri = buildScheme(config, options);
@@ -25,6 +27,7 @@ function generateScheme(config, options) {
25
27
  return uri;
26
28
  }
27
29
  exports.generateScheme = generateScheme;
30
+ // generate android intent
28
31
  function generateIntent(config, options) {
29
32
  const { outChain } = options;
30
33
  const { intent, fallback } = options;
@@ -42,6 +45,7 @@ function generateIntent(config, options) {
42
45
  return `intent://${urlPath}${intentTail}`;
43
46
  }
44
47
  exports.generateIntent = generateIntent;
48
+ // generate universalLink
45
49
  function generateUniversalLink(config, options) {
46
50
  const { universal } = options;
47
51
  if (typeof universal === 'undefined')
@@ -2,6 +2,10 @@ import { EvokeAppConfig, EvokeAppOptions } from './types';
2
2
  export declare class EvokeApp {
3
3
  private readonly options;
4
4
  constructor(options: EvokeAppOptions);
5
+ /**
6
+ * register as method
7
+ * generateScheme | generateIntent | generateUniversalLink | checkOpen
8
+ */
5
9
  generateScheme(config: EvokeAppConfig): string;
6
10
  generateIntent(config: EvokeAppConfig): string;
7
11
  generateUniversalLink(config: EvokeAppConfig): string;
@@ -9,5 +13,9 @@ export declare class EvokeApp {
9
13
  fallToAppStore(): void;
10
14
  fallToFbUrl(): void;
11
15
  fallToCustomCb(callback: () => void): void;
16
+ /**
17
+ * Evoke the client
18
+ * Execute different call-out strategies according to different browsers
19
+ */
12
20
  open(config: EvokeAppConfig): void;
13
21
  }
@@ -24,14 +24,22 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.EvokeApp = void 0;
27
+ /**
28
+ * @remakes https://github.com/suanmei/callapp-lib
29
+ */
27
30
  const Browser = __importStar(require("../browser"));
28
31
  const evoke_1 = require("./evoke");
29
32
  const generate = __importStar(require("./generate"));
30
33
  class EvokeApp {
34
+ // Create an instance of EvokeApp
31
35
  constructor(options) {
32
36
  const defaultOptions = { timeout: 4000 };
33
37
  this.options = Object.assign(defaultOptions, options);
34
38
  }
39
+ /**
40
+ * register as method
41
+ * generateScheme | generateIntent | generateUniversalLink | checkOpen
42
+ */
35
43
  generateScheme(config) {
36
44
  return generate.generateScheme(config, this.options);
37
45
  }
@@ -52,9 +60,11 @@ class EvokeApp {
52
60
  }, timeout);
53
61
  });
54
62
  }
63
+ // Call terminal failure jump app store
55
64
  fallToAppStore() {
56
65
  this.checkOpen().catch(() => (0, evoke_1.evokeByLocation)(this.options.appStore));
57
66
  }
67
+ // Redirect to the general (download) page if the terminal call fails
58
68
  fallToFbUrl() {
59
69
  this.checkOpen().catch(() => {
60
70
  if (!this.options.fallback)
@@ -62,9 +72,14 @@ class EvokeApp {
62
72
  (0, evoke_1.evokeByLocation)(this.options.fallback);
63
73
  });
64
74
  }
75
+ // Failed to call the terminal to call the custom callback function
65
76
  fallToCustomCb(callback) {
66
77
  this.checkOpen().catch(callback);
67
78
  }
79
+ /**
80
+ * Evoke the client
81
+ * Execute different call-out strategies according to different browsers
82
+ */
68
83
  open(config) {
69
84
  const { universal, logFunc, intent } = this.options;
70
85
  const { callback } = config;
@@ -86,12 +101,14 @@ class EvokeApp {
86
101
  else {
87
102
  (0, evoke_1.evokeByLocation)(this.generateUniversalLink(config));
88
103
  }
104
+ // Android
89
105
  }
90
106
  else if (Browser.isOriginalChrome) {
91
107
  if (typeof intent !== 'undefined') {
92
108
  (0, evoke_1.evokeByLocation)(this.generateIntent(config));
93
109
  }
94
110
  else {
111
+ // The scheme cannot pull up the iframe normally on the android chrome25+ version
95
112
  (0, evoke_1.evokeByLocation)(schemeURL);
96
113
  checkOpenFall = this.fallToFbUrl;
97
114
  }
@@ -15,6 +15,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const utils_1 = require("../utils");
16
16
  const constants_1 = require("../constants");
17
17
  const detect_provider_1 = __importDefault(require("@portkey/detect-provider"));
18
+ /**
19
+ * This method is used to check if the provided object is a Portkey provider.
20
+ */
18
21
  function isPortkeyProvider() {
19
22
  return __awaiter(this, void 0, void 0, function* () {
20
23
  try {
@@ -7,7 +7,7 @@ const evokePortkeyApp = ({ domain, custom, action, timeout = 4000, customFailure
7
7
  const callLib = new evokeApp_1.EvokeApp({
8
8
  scheme: {
9
9
  protocol: utils_1.scheme.DID_APP_SCHEMA,
10
- domain: domain || window.location.host,
10
+ domain: domain || (window === null || window === void 0 ? void 0 : window.location.host),
11
11
  },
12
12
  timeout,
13
13
  appStore: constants_1.APP_DOWNLOAD_URL.APP_STORE,
@@ -10,6 +10,7 @@ export const semverCompare = (verionA, versionB) => {
10
10
  return 1;
11
11
  if (snippetB > snippetA)
12
12
  return -1;
13
+ // e.g. '1.0.0-rc' -- Number('0-rc') = NaN
13
14
  if (!isNaN(snippetA) && isNaN(snippetB))
14
15
  return 1;
15
16
  if (isNaN(snippetA) && !isNaN(snippetB))
@@ -8,3 +8,5 @@ export const EXTENSION_DOWNLOAD_URL = {
8
8
  DEFAULT: 'https://portkey.finance/download',
9
9
  };
10
10
  export const WEB_PAGE = 'https://openlogin.portkey.finance';
11
+ // export const WEB_PAGE = 'https://openlogin-test.portkey.finance';
12
+ // export const WEB_PAGE = 'http://192.168.11.245:3000';
@@ -1,5 +1,22 @@
1
1
  import { OpenStatus } from './types.js';
2
+ /**
3
+ * Jump via top.location.href
4
+ * @param {string} [uri] - open
5
+ */
2
6
  export declare function evokeByLocation(uri: string): void;
7
+ /**
8
+ * Evoked by the A tag
9
+ * @param {string} uri - open url
10
+ */
3
11
  export declare function evokeByTagA(uri: string): void;
12
+ /**
13
+ * Evoked by iframe
14
+ * @param {string} [uri] - open url
15
+ */
4
16
  export declare function evokeByIFrame(uri: string): void;
17
+ /**
18
+ * Check whether the calling end is successful
19
+ * @param cb - Callback failure callback function
20
+ * @param timeout
21
+ */
5
22
  export declare function checkOpen(callback: (status: OpenStatus) => void, timeout: number): void;
@@ -5,6 +5,7 @@ function getSupportedProperty() {
5
5
  if (typeof document === 'undefined')
6
6
  return;
7
7
  if (typeof document.hidden !== 'undefined') {
8
+ // Opera 12.10 and Firefox 18 and later support
8
9
  hidden = 'hidden';
9
10
  visibilityChange = 'visibilitychange';
10
11
  }
@@ -18,6 +19,9 @@ function getSupportedProperty() {
18
19
  }
19
20
  }
20
21
  getSupportedProperty();
22
+ /**
23
+ * Determine whether the page is hidden (enter the background)
24
+ */
21
25
  function isPageHidden() {
22
26
  if (typeof document === 'undefined')
23
27
  return false;
@@ -25,12 +29,21 @@ function isPageHidden() {
25
29
  return false;
26
30
  return document[hidden];
27
31
  }
32
+ /**
33
+ * Jump via top.location.href
34
+ * @param {string} [uri] - open
35
+ */
28
36
  export function evokeByLocation(uri) {
37
+ // if (typeof window === 'undefined') return;
29
38
  if (window.top)
30
39
  window.top.location.href = uri;
31
40
  else
32
41
  window.location.href = uri;
33
42
  }
43
+ /**
44
+ * Evoked by the A tag
45
+ * @param {string} uri - open url
46
+ */
34
47
  export function evokeByTagA(uri) {
35
48
  const tagA = document.createElement('a');
36
49
  tagA.setAttribute('href', uri);
@@ -38,6 +51,10 @@ export function evokeByTagA(uri) {
38
51
  document.body.appendChild(tagA);
39
52
  tagA.click();
40
53
  }
54
+ /**
55
+ * Evoked by iframe
56
+ * @param {string} [uri] - open url
57
+ */
41
58
  export function evokeByIFrame(uri) {
42
59
  if (!iframe) {
43
60
  iframe = document.createElement('iframe');
@@ -46,6 +63,11 @@ export function evokeByIFrame(uri) {
46
63
  }
47
64
  iframe.src = uri;
48
65
  }
66
+ /**
67
+ * Check whether the calling end is successful
68
+ * @param cb - Callback failure callback function
69
+ * @param timeout
70
+ */
49
71
  export function checkOpen(callback, timeout) {
50
72
  const timer = setTimeout(() => {
51
73
  const pageHidden = isPageHidden();
@@ -1,4 +1,5 @@
1
1
  import { stringifyUrl } from 'query-string';
2
+ // Generate basic url scheme
2
3
  export function buildScheme(config, options) {
3
4
  const { path, param } = config;
4
5
  const { scheme, buildScheme: customBuildScheme } = options;
@@ -11,6 +12,7 @@ export function buildScheme(config, options) {
11
12
  query: param,
12
13
  }, { encode: true });
13
14
  }
15
+ // Generate the url scheme required by the business (distinguish whether it is an external link)
14
16
  export function generateScheme(config, options) {
15
17
  const { outChain } = options;
16
18
  let uri = buildScheme(config, options);
@@ -20,6 +22,7 @@ export function generateScheme(config, options) {
20
22
  }
21
23
  return uri;
22
24
  }
25
+ // generate android intent
23
26
  export function generateIntent(config, options) {
24
27
  const { outChain } = options;
25
28
  const { intent, fallback } = options;
@@ -36,6 +39,7 @@ export function generateIntent(config, options) {
36
39
  urlPath = urlPath.slice(urlPath.indexOf('//') + 2);
37
40
  return `intent://${urlPath}${intentTail}`;
38
41
  }
42
+ // generate universalLink
39
43
  export function generateUniversalLink(config, options) {
40
44
  const { universal } = options;
41
45
  if (typeof universal === 'undefined')
@@ -2,6 +2,10 @@ import { EvokeAppConfig, EvokeAppOptions } from './types.js';
2
2
  export declare class EvokeApp {
3
3
  private readonly options;
4
4
  constructor(options: EvokeAppOptions);
5
+ /**
6
+ * register as method
7
+ * generateScheme | generateIntent | generateUniversalLink | checkOpen
8
+ */
5
9
  generateScheme(config: EvokeAppConfig): string;
6
10
  generateIntent(config: EvokeAppConfig): string;
7
11
  generateUniversalLink(config: EvokeAppConfig): string;
@@ -9,5 +13,9 @@ export declare class EvokeApp {
9
13
  fallToAppStore(): void;
10
14
  fallToFbUrl(): void;
11
15
  fallToCustomCb(callback: () => void): void;
16
+ /**
17
+ * Evoke the client
18
+ * Execute different call-out strategies according to different browsers
19
+ */
12
20
  open(config: EvokeAppConfig): void;
13
21
  }
@@ -1,11 +1,19 @@
1
+ /**
2
+ * @remakes https://github.com/suanmei/callapp-lib
3
+ */
1
4
  import * as Browser from '../browser.js';
2
5
  import { evokeByLocation, evokeByIFrame, checkOpen, evokeByTagA } from './evoke.js';
3
6
  import * as generate from './generate.js';
4
7
  export class EvokeApp {
8
+ // Create an instance of EvokeApp
5
9
  constructor(options) {
6
10
  const defaultOptions = { timeout: 4000 };
7
11
  this.options = Object.assign(defaultOptions, options);
8
12
  }
13
+ /**
14
+ * register as method
15
+ * generateScheme | generateIntent | generateUniversalLink | checkOpen
16
+ */
9
17
  generateScheme(config) {
10
18
  return generate.generateScheme(config, this.options);
11
19
  }
@@ -26,9 +34,11 @@ export class EvokeApp {
26
34
  }, timeout);
27
35
  });
28
36
  }
37
+ // Call terminal failure jump app store
29
38
  fallToAppStore() {
30
39
  this.checkOpen().catch(() => evokeByLocation(this.options.appStore));
31
40
  }
41
+ // Redirect to the general (download) page if the terminal call fails
32
42
  fallToFbUrl() {
33
43
  this.checkOpen().catch(() => {
34
44
  if (!this.options.fallback)
@@ -36,9 +46,14 @@ export class EvokeApp {
36
46
  evokeByLocation(this.options.fallback);
37
47
  });
38
48
  }
49
+ // Failed to call the terminal to call the custom callback function
39
50
  fallToCustomCb(callback) {
40
51
  this.checkOpen().catch(callback);
41
52
  }
53
+ /**
54
+ * Evoke the client
55
+ * Execute different call-out strategies according to different browsers
56
+ */
42
57
  open(config) {
43
58
  const { universal, logFunc, intent } = this.options;
44
59
  const { callback } = config;
@@ -60,12 +75,14 @@ export class EvokeApp {
60
75
  else {
61
76
  evokeByLocation(this.generateUniversalLink(config));
62
77
  }
78
+ // Android
63
79
  }
64
80
  else if (Browser.isOriginalChrome) {
65
81
  if (typeof intent !== 'undefined') {
66
82
  evokeByLocation(this.generateIntent(config));
67
83
  }
68
84
  else {
85
+ // The scheme cannot pull up the iframe normally on the android chrome25+ version
69
86
  evokeByLocation(schemeURL);
70
87
  checkOpenFall = this.fallToFbUrl;
71
88
  }
@@ -10,6 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  import { detectBrowserName } from '../utils/index.js';
11
11
  import { EXTENSION_DOWNLOAD_URL } from '../constants/index.js';
12
12
  import detectProvider from '@portkey/detect-provider';
13
+ /**
14
+ * This method is used to check if the provided object is a Portkey provider.
15
+ */
13
16
  function isPortkeyProvider() {
14
17
  return __awaiter(this, void 0, void 0, function* () {
15
18
  try {
@@ -5,7 +5,7 @@ const evokePortkeyApp = ({ domain, custom, action, timeout = 4000, customFailure
5
5
  const callLib = new EvokeApp({
6
6
  scheme: {
7
7
  protocol: schemeUtils.DID_APP_SCHEMA,
8
- domain: domain || window.location.host,
8
+ domain: domain || (window === null || window === void 0 ? void 0 : window.location.host),
9
9
  },
10
10
  timeout,
11
11
  appStore: APP_DOWNLOAD_URL.APP_STORE,
@@ -1,6 +1,23 @@
1
1
  import { OpenStatus } from './types';
2
+ /**
3
+ * Jump via top.location.href
4
+ * @param {string} [uri] - open
5
+ */
2
6
  export declare function evokeByLocation(uri: string): void;
7
+ /**
8
+ * Evoked by the A tag
9
+ * @param {string} uri - open url
10
+ */
3
11
  export declare function evokeByTagA(uri: string): void;
12
+ /**
13
+ * Evoked by iframe
14
+ * @param {string} [uri] - open url
15
+ */
4
16
  export declare function evokeByIFrame(uri: string): void;
17
+ /**
18
+ * Check whether the calling end is successful
19
+ * @param cb - Callback failure callback function
20
+ * @param timeout
21
+ */
5
22
  export declare function checkOpen(callback: (status: OpenStatus) => void, timeout: number): void;
6
23
  //# sourceMappingURL=evoke.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"evoke.d.ts","sourceRoot":"","sources":["../../../src/evokeApp/evoke.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,UAAU,EAAoB,MAAM,SAAS,CAAC;AAqC/D,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAIjD;AAMD,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAQ7C;AAMD,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAQ/C;AAOD,wBAAgB,SAAS,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAuBvF"}
1
+ {"version":3,"file":"evoke.d.ts","sourceRoot":"","sources":["../../../src/evokeApp/evoke.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,UAAU,EAAoB,MAAM,SAAS,CAAC;AAiC/D;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAIjD;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAQ7C;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAQ/C;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAuBvF"}
@@ -2,6 +2,10 @@ import { EvokeAppConfig, EvokeAppOptions } from './types';
2
2
  export declare class EvokeApp {
3
3
  private readonly options;
4
4
  constructor(options: EvokeAppOptions);
5
+ /**
6
+ * register as method
7
+ * generateScheme | generateIntent | generateUniversalLink | checkOpen
8
+ */
5
9
  generateScheme(config: EvokeAppConfig): string;
6
10
  generateIntent(config: EvokeAppConfig): string;
7
11
  generateUniversalLink(config: EvokeAppConfig): string;
@@ -9,6 +13,10 @@ export declare class EvokeApp {
9
13
  fallToAppStore(): void;
10
14
  fallToFbUrl(): void;
11
15
  fallToCustomCb(callback: () => void): void;
16
+ /**
17
+ * Evoke the client
18
+ * Execute different call-out strategies according to different browsers
19
+ */
12
20
  open(config: EvokeAppConfig): void;
13
21
  }
14
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/evokeApp/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAwC;gBAGpD,OAAO,EAAE,eAAe;IAS7B,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM;IAI9C,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM;IAI9C,qBAAqB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM;IAI5D,SAAS;IAYT,cAAc,IAAI,IAAI;IAKtB,WAAW,IAAI,IAAI;IAQnB,cAAc,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAQ1C,IAAI,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI;CA2CnC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/evokeApp/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAwC;gBAGpD,OAAO,EAAE,eAAe;IAKpC;;;OAGG;IACI,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM;IAI9C,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM;IAI9C,qBAAqB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM;IAI5D,SAAS;IAYT,cAAc,IAAI,IAAI;IAKtB,WAAW,IAAI,IAAI;IAQnB,cAAc,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAI1C;;;OAGG;IACH,IAAI,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI;CA2CnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portkey/onboarding",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "",
5
5
  "main": "./dist/commonjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -40,11 +40,11 @@
40
40
  "start": "tsc --watch"
41
41
  },
42
42
  "dependencies": {
43
- "@portkey/detect-provider": "1.0.1",
44
- "@portkey/types": "^1.5.1",
45
- "@portkey/utils": "^1.5.1",
43
+ "@portkey/detect-provider": "^1.0.1",
44
+ "@portkey/types": "^1.5.2",
45
+ "@portkey/utils": "^1.5.2",
46
46
  "bowser": "^2.11.0",
47
47
  "query-string": "^7.1.1"
48
48
  },
49
- "gitHead": "34d6e25f1e23a951ae870638c53719c9bcacbbd8"
49
+ "gitHead": "20e7e64ea49904e59a69bb6cce8a54c22921993b"
50
50
  }