@frankieone/one-sdk 1.10.1 → 1.10.2-rc

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/commit.txt CHANGED
@@ -1 +1 @@
1
- 2c3064ad479fc4b6c588b41281ad72dab0e44bb5
1
+ 2500fbdb7182f44bfaf9b01fb898d0ca5d3a2278
@@ -1,4 +1,5 @@
1
1
  import type { BiometricsModule } from '../../biometrics';
2
+ import type { SardineRegion } from '../../device/vendors/Sardine';
2
3
  import type { DigitalIdModule } from '../../digital-id/definition';
3
4
  import type { FederationModule } from '../../federation';
4
5
  import type { FormModule } from '../../form/definition';
@@ -17,6 +18,7 @@ type DeviceRecipeConfiguration = {
17
18
  name: 'sardine' | 'threatmetrix';
18
19
  clientID: string;
19
20
  environment: 'production' | 'sandbox';
21
+ region?: SardineRegion;
20
22
  };
21
23
  };
22
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"recipeConfiguration.types.d.ts","sourceRoot":"","sources":["../../../../../modules/common/types/recipeConfiguration.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAK7C,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAC3C,uBAAuB,GACvB,gBAAgB,CAAC,qBAAqB,CAAC,GACvC,yBAAyB,GACzB,SAAS,CAAC,qBAAqB,CAAC,GAChC,SAAS,CAAC,qBAAqB,CAAC,GAChC,gBAAgB,CAAC,qBAAqB,CAAC,GACvC,UAAU,CAAC,qBAAqB,CAAC,GACjC,cAAc,CAAC,qBAAqB,CAAC,GACrC,eAAe,CAAC,qBAAqB,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,qBAAqB,GAAG,MAAM,CAAC;CACtC,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,qBAAqB,EAAE;QACrB,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS,GAAG,cAAc,CAAC;YACjC,QAAQ,EAAE,MAAM,CAAC;YACjB,WAAW,EAAE,YAAY,GAAG,SAAS,CAAC;SACvC,CAAC;KACH,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"recipeConfiguration.types.d.ts","sourceRoot":"","sources":["../../../../../modules/common/types/recipeConfiguration.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAK7C,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAC3C,uBAAuB,GACvB,gBAAgB,CAAC,qBAAqB,CAAC,GACvC,yBAAyB,GACzB,SAAS,CAAC,qBAAqB,CAAC,GAChC,SAAS,CAAC,qBAAqB,CAAC,GAChC,gBAAgB,CAAC,qBAAqB,CAAC,GACvC,UAAU,CAAC,qBAAqB,CAAC,GACjC,cAAc,CAAC,qBAAqB,CAAC,GACrC,eAAe,CAAC,qBAAqB,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,qBAAqB,GAAG,MAAM,CAAC;CACtC,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,qBAAqB,EAAE;QACrB,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS,GAAG,cAAc,CAAC;YACjC,QAAQ,EAAE,MAAM,CAAC;YACjB,WAAW,EAAE,YAAY,GAAG,SAAS,CAAC;YAEtC,MAAM,CAAC,EAAE,aAAa,CAAC;SACxB,CAAC;KACH,CAAC;CACH,CAAC"}
@@ -28,6 +28,8 @@ interface InitialisationOptions extends SardineSdkOptions {
28
28
  parentElement: HTMLElement;
29
29
  }
30
30
  export type SardineEnvironment = 'production' | 'sandbox';
31
+ declare const SardineRegions: readonly ["us", "eu", "ca", "au", "in"];
32
+ export type SardineRegion = (typeof SardineRegions)[number];
31
33
  declare global {
32
34
  interface Window {
33
35
  _Sardine: {
@@ -1 +1 @@
1
- {"version":3,"file":"Sardine.d.ts","sourceRoot":"","sources":["../../../../../modules/device/vendors/Sardine.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CActB,CAAC;AAyFF,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;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;AAC5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,QAAQ,EAAE;YACR,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG;gBACnD,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;aACxD,CAAC;SACH,CAAC;KACH;CACF"}
@@ -27,7 +27,7 @@ export const initialise = defineWrapper('sardine', (shared, options) => __awaite
27
27
  }));
28
28
  function initialiseSardineSession(shared, options) {
29
29
  return __awaiter(this, void 0, void 0, function* () {
30
- var _a, _b, _c, _d, _e;
30
+ var _a, _b, _c, _d, _e, _f, _g;
31
31
  const sessionKey = options.token || options.sessionId || uuid();
32
32
  const device = shared.oneSdkInstance.individual().access('device');
33
33
  device.setValue({
@@ -42,18 +42,23 @@ function initialiseSardineSession(shared, options) {
42
42
  frankieClientID: (_c = (_b = shared.recipe.deviceCharacteristics) === null || _b === void 0 ? void 0 : _b.provider) === null || _c === void 0 ? void 0 : _c.clientID,
43
43
  vendorSessionID: sessionKey,
44
44
  environment: (_e = (_d = shared.recipe.deviceCharacteristics) === null || _d === void 0 ? void 0 : _d.provider) === null || _e === void 0 ? void 0 : _e.environment,
45
+ region: (_g = (_f = shared.recipe.deviceCharacteristics) === null || _f === void 0 ? void 0 : _f.provider) === null || _g === void 0 ? void 0 : _g.region,
45
46
  };
46
47
  });
47
48
  }
48
- function resolveSardineHost(environment) {
49
- if (environment === 'production')
50
- return 'api.sardine.ai';
51
- return 'api.sandbox.sardine.ai';
49
+ function resolveSardineHost(environment, region) {
50
+ if (environment !== 'production')
51
+ return 'api.sandbox.sardine.ai';
52
+ // ponytail: unknown regions fall back to US, recipes are untyped JSON at runtime
53
+ if (region && region !== 'us' && SardineRegions.includes(region)) {
54
+ return `api.${region}.sardine.ai`;
55
+ }
56
+ return 'api.sardine.ai';
52
57
  }
53
58
  function asyncLoadSardine(_shared, options, sessionData) {
54
59
  return __awaiter(this, void 0, void 0, function* () {
55
60
  const environment = sessionData.environment;
56
- const sardineHost = resolveSardineHost(environment);
61
+ const sardineHost = resolveSardineHost(environment, sessionData.region);
57
62
  const url = `https://${sardineHost}/assets/loader.min.js`;
58
63
  try {
59
64
  z.string()
@@ -95,4 +100,5 @@ const mapF2S = {
95
100
  entityId: 'userIdHash',
96
101
  activityType: 'flow',
97
102
  };
103
+ const SardineRegions = ['us', 'eu', 'ca', 'au', 'in'];
98
104
  //# sourceMappingURL=Sardine.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sardine.js","sourceRoot":"","sources":["../../../../../modules/device/vendors/Sardine.ts"],"names":[],"mappings":";;;;;;;;;AAAA,0DAA0D;AAC1D,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKlD,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CACrC,SAAS,EACT,CAAO,MAAM,EAAE,OAAO,EAAE,EAAE;IACxB,8BAA8B;IAC9B,MAAM,WAAW,GAAG,MAAM,wBAAwB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,wBAAwB,EAAE;QAC9C,OAAO,EAAE,WAAW;KACrB,CAAC,CAAC;IACH,yBAAyB;IACzB,MAAM,cAAc,GAAG,MAAM,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;IAC5E,sDAAsD;IACtD,4FAA4F;IAC5F,OAAO,cAAc,CAAC;AACxB,CAAC,CAAA,CACF,CAAC;AAOF,SAAe,wBAAwB,CACrC,MAAqB,EACrB,OAAsC;;;QAEt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AE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC"}
@@ -20,7 +20,9 @@ export function parseConfiguration(shared) {
20
20
  function validateSingpassIdpConfiguration(singpass) {
21
21
  let redirect_url = z
22
22
  .string({
23
- required_error: "'singpass.redirect_url' is required",
23
+ error: (issue) => issue.input === undefined
24
+ ? "'singpass.redirect_url' is required"
25
+ : undefined,
24
26
  })
25
27
  .url("The specified 'singpass.redirect_url' needs to be a valid URL");
26
28
  // If environment is production, require redirect url to use the secure https:// protocol
@@ -29,7 +31,7 @@ function validateSingpassIdpConfiguration(singpass) {
29
31
  message: "When 'singpass.environment' is 'production', the specified 'singpass.redirect_url' needs to be a secure https URL",
30
32
  });
31
33
  const environment = z.enum(['production', 'sandbox', 'test'], {
32
- required_error: "Invalid 'singpass.environment'",
34
+ error: (issue) => issue.input === undefined ? "Invalid 'singpass.environment'" : undefined,
33
35
  });
34
36
  try {
35
37
  z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"parseConfiguration.js","sourceRoot":"","sources":["../../../../modules/federation/parseConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,MAAM,UAAU,kBAAkB,CAAC,MAAqB;IACtD,MAAM,UAAU,GAAG,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC;IACtD,MAAM,WAAW,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC;IAE7C,oDAAoD;IACpD,IAAI,WAAW;QACb,MAAM,IAAI,KAAK,CACb,+HAA+H,CAChI,CAAC;IAEJ,UAAU;IACV,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU;QAAE,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;IAC9E,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI;QAAE,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IAC7E,IAAI,CAAC,MAAM,CAAC,MAAM,CAA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,EACL,mHAAmH;SACtH,CAAC,CAAC;IAEL,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE;QAC5D,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CACf,KAAK,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,SAAS;KAC3E,CAAC,CAAC;IAEH,IAAI,CAAC;QACH,CAAC,CAAC,MAAM,CAAC;YACP,YAAY;YACZ,WAAW;SACZ,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACrB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAE,CAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -439,7 +439,7 @@ export declare const ausAddressField: {
439
439
  } & {
440
440
  fieldType: import("../../appConfig.type").InputConfigType;
441
441
  } & {
442
- fieldType: "hidden";
442
+ fieldType: "input";
443
443
  placeholder?: string;
444
444
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues>) | ({
445
445
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -454,7 +454,7 @@ export declare const ausAddressField: {
454
454
  } & {
455
455
  fieldType: import("../../appConfig.type").InputConfigType;
456
456
  } & {
457
- fieldType: "hidden";
457
+ fieldType: "input";
458
458
  placeholder?: string;
459
459
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & {
460
460
  disabledVisually?: boolean;
@@ -471,7 +471,7 @@ export declare const ausAddressField: {
471
471
  } & {
472
472
  fieldType: import("../../appConfig.type").InputConfigType;
473
473
  } & {
474
- fieldType: "hidden";
474
+ fieldType: "input";
475
475
  placeholder?: string;
476
476
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig>) | ({
477
477
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -486,7 +486,7 @@ export declare const ausAddressField: {
486
486
  } & {
487
487
  fieldType: import("../../appConfig.type").InputConfigType;
488
488
  } & {
489
- fieldType: "hidden";
489
+ fieldType: "input";
490
490
  placeholder?: string;
491
491
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig> & {
492
492
  disabledVisually?: boolean;
@@ -503,7 +503,7 @@ export declare const ausAddressField: {
503
503
  } & {
504
504
  fieldType: import("../../appConfig.type").InputConfigType;
505
505
  } & {
506
- fieldType: "input";
506
+ fieldType: "hidden";
507
507
  placeholder?: string;
508
508
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues>) | ({
509
509
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -518,7 +518,7 @@ export declare const ausAddressField: {
518
518
  } & {
519
519
  fieldType: import("../../appConfig.type").InputConfigType;
520
520
  } & {
521
- fieldType: "input";
521
+ fieldType: "hidden";
522
522
  placeholder?: string;
523
523
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & {
524
524
  disabledVisually?: boolean;
@@ -535,7 +535,7 @@ export declare const ausAddressField: {
535
535
  } & {
536
536
  fieldType: import("../../appConfig.type").InputConfigType;
537
537
  } & {
538
- fieldType: "input";
538
+ fieldType: "hidden";
539
539
  placeholder?: string;
540
540
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig>) | ({
541
541
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -550,7 +550,7 @@ export declare const ausAddressField: {
550
550
  } & {
551
551
  fieldType: import("../../appConfig.type").InputConfigType;
552
552
  } & {
553
- fieldType: "input";
553
+ fieldType: "hidden";
554
554
  placeholder?: string;
555
555
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig> & {
556
556
  disabledVisually?: boolean;
@@ -1049,7 +1049,7 @@ export declare const ausAddressField: {
1049
1049
  } & {
1050
1050
  fieldType: import("../../appConfig.type").InputConfigType;
1051
1051
  } & {
1052
- fieldType: "hidden";
1052
+ fieldType: "input";
1053
1053
  placeholder?: string;
1054
1054
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues>) | ({
1055
1055
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -1064,7 +1064,7 @@ export declare const ausAddressField: {
1064
1064
  } & {
1065
1065
  fieldType: import("../../appConfig.type").InputConfigType;
1066
1066
  } & {
1067
- fieldType: "hidden";
1067
+ fieldType: "input";
1068
1068
  placeholder?: string;
1069
1069
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & {
1070
1070
  disabledVisually?: boolean;
@@ -1081,7 +1081,7 @@ export declare const ausAddressField: {
1081
1081
  } & {
1082
1082
  fieldType: import("../../appConfig.type").InputConfigType;
1083
1083
  } & {
1084
- fieldType: "hidden";
1084
+ fieldType: "input";
1085
1085
  placeholder?: string;
1086
1086
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig>) | ({
1087
1087
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -1096,7 +1096,7 @@ export declare const ausAddressField: {
1096
1096
  } & {
1097
1097
  fieldType: import("../../appConfig.type").InputConfigType;
1098
1098
  } & {
1099
- fieldType: "hidden";
1099
+ fieldType: "input";
1100
1100
  placeholder?: string;
1101
1101
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig> & {
1102
1102
  disabledVisually?: boolean;
@@ -1113,7 +1113,7 @@ export declare const ausAddressField: {
1113
1113
  } & {
1114
1114
  fieldType: import("../../appConfig.type").InputConfigType;
1115
1115
  } & {
1116
- fieldType: "input";
1116
+ fieldType: "hidden";
1117
1117
  placeholder?: string;
1118
1118
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues>) | ({
1119
1119
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -1128,7 +1128,7 @@ export declare const ausAddressField: {
1128
1128
  } & {
1129
1129
  fieldType: import("../../appConfig.type").InputConfigType;
1130
1130
  } & {
1131
- fieldType: "input";
1131
+ fieldType: "hidden";
1132
1132
  placeholder?: string;
1133
1133
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & {
1134
1134
  disabledVisually?: boolean;
@@ -1145,7 +1145,7 @@ export declare const ausAddressField: {
1145
1145
  } & {
1146
1146
  fieldType: import("../../appConfig.type").InputConfigType;
1147
1147
  } & {
1148
- fieldType: "input";
1148
+ fieldType: "hidden";
1149
1149
  placeholder?: string;
1150
1150
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig>) | ({
1151
1151
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -1160,7 +1160,7 @@ export declare const ausAddressField: {
1160
1160
  } & {
1161
1161
  fieldType: import("../../appConfig.type").InputConfigType;
1162
1162
  } & {
1163
- fieldType: "input";
1163
+ fieldType: "hidden";
1164
1164
  placeholder?: string;
1165
1165
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig> & {
1166
1166
  disabledVisually?: boolean;
@@ -1663,7 +1663,7 @@ export declare const ausAddressField: {
1663
1663
  } & {
1664
1664
  fieldType: import("../../appConfig.type").InputConfigType;
1665
1665
  } & {
1666
- fieldType: "hidden";
1666
+ fieldType: "input";
1667
1667
  placeholder?: string;
1668
1668
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues>) | ({
1669
1669
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -1678,7 +1678,7 @@ export declare const ausAddressField: {
1678
1678
  } & {
1679
1679
  fieldType: import("../../appConfig.type").InputConfigType;
1680
1680
  } & {
1681
- fieldType: "hidden";
1681
+ fieldType: "input";
1682
1682
  placeholder?: string;
1683
1683
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & {
1684
1684
  disabledVisually?: boolean;
@@ -1695,7 +1695,7 @@ export declare const ausAddressField: {
1695
1695
  } & {
1696
1696
  fieldType: import("../../appConfig.type").InputConfigType;
1697
1697
  } & {
1698
- fieldType: "hidden";
1698
+ fieldType: "input";
1699
1699
  placeholder?: string;
1700
1700
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig>) | ({
1701
1701
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -1710,7 +1710,7 @@ export declare const ausAddressField: {
1710
1710
  } & {
1711
1711
  fieldType: import("../../appConfig.type").InputConfigType;
1712
1712
  } & {
1713
- fieldType: "hidden";
1713
+ fieldType: "input";
1714
1714
  placeholder?: string;
1715
1715
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig> & {
1716
1716
  disabledVisually?: boolean;
@@ -1727,7 +1727,7 @@ export declare const ausAddressField: {
1727
1727
  } & {
1728
1728
  fieldType: import("../../appConfig.type").InputConfigType;
1729
1729
  } & {
1730
- fieldType: "input";
1730
+ fieldType: "hidden";
1731
1731
  placeholder?: string;
1732
1732
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues>) | ({
1733
1733
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -1742,7 +1742,7 @@ export declare const ausAddressField: {
1742
1742
  } & {
1743
1743
  fieldType: import("../../appConfig.type").InputConfigType;
1744
1744
  } & {
1745
- fieldType: "input";
1745
+ fieldType: "hidden";
1746
1746
  placeholder?: string;
1747
1747
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & {
1748
1748
  disabledVisually?: boolean;
@@ -1759,7 +1759,7 @@ export declare const ausAddressField: {
1759
1759
  } & {
1760
1760
  fieldType: import("../../appConfig.type").InputConfigType;
1761
1761
  } & {
1762
- fieldType: "input";
1762
+ fieldType: "hidden";
1763
1763
  placeholder?: string;
1764
1764
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig>) | ({
1765
1765
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -1774,7 +1774,7 @@ export declare const ausAddressField: {
1774
1774
  } & {
1775
1775
  fieldType: import("../../appConfig.type").InputConfigType;
1776
1776
  } & {
1777
- fieldType: "input";
1777
+ fieldType: "hidden";
1778
1778
  placeholder?: string;
1779
1779
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig> & {
1780
1780
  disabledVisually?: boolean;
@@ -2274,7 +2274,7 @@ export declare const ausAddressField: {
2274
2274
  } & {
2275
2275
  fieldType: import("../../appConfig.type").InputConfigType;
2276
2276
  } & {
2277
- fieldType: "hidden";
2277
+ fieldType: "input";
2278
2278
  placeholder?: string;
2279
2279
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues>) | ({
2280
2280
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -2289,7 +2289,7 @@ export declare const ausAddressField: {
2289
2289
  } & {
2290
2290
  fieldType: import("../../appConfig.type").InputConfigType;
2291
2291
  } & {
2292
- fieldType: "hidden";
2292
+ fieldType: "input";
2293
2293
  placeholder?: string;
2294
2294
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & {
2295
2295
  disabledVisually?: boolean;
@@ -2306,7 +2306,7 @@ export declare const ausAddressField: {
2306
2306
  } & {
2307
2307
  fieldType: import("../../appConfig.type").InputConfigType;
2308
2308
  } & {
2309
- fieldType: "hidden";
2309
+ fieldType: "input";
2310
2310
  placeholder?: string;
2311
2311
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig>) | ({
2312
2312
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -2321,7 +2321,7 @@ export declare const ausAddressField: {
2321
2321
  } & {
2322
2322
  fieldType: import("../../appConfig.type").InputConfigType;
2323
2323
  } & {
2324
- fieldType: "hidden";
2324
+ fieldType: "input";
2325
2325
  placeholder?: string;
2326
2326
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig> & {
2327
2327
  disabledVisually?: boolean;
@@ -2338,7 +2338,7 @@ export declare const ausAddressField: {
2338
2338
  } & {
2339
2339
  fieldType: import("../../appConfig.type").InputConfigType;
2340
2340
  } & {
2341
- fieldType: "input";
2341
+ fieldType: "hidden";
2342
2342
  placeholder?: string;
2343
2343
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues>) | ({
2344
2344
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -2353,7 +2353,7 @@ export declare const ausAddressField: {
2353
2353
  } & {
2354
2354
  fieldType: import("../../appConfig.type").InputConfigType;
2355
2355
  } & {
2356
- fieldType: "input";
2356
+ fieldType: "hidden";
2357
2357
  placeholder?: string;
2358
2358
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & {
2359
2359
  disabledVisually?: boolean;
@@ -2370,7 +2370,7 @@ export declare const ausAddressField: {
2370
2370
  } & {
2371
2371
  fieldType: import("../../appConfig.type").InputConfigType;
2372
2372
  } & {
2373
- fieldType: "input";
2373
+ fieldType: "hidden";
2374
2374
  placeholder?: string;
2375
2375
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig>) | ({
2376
2376
  name: (string & {}) | import("../../appConfig.type").FormFieldConfigProps;
@@ -2385,7 +2385,7 @@ export declare const ausAddressField: {
2385
2385
  } & {
2386
2386
  fieldType: import("../../appConfig.type").InputConfigType;
2387
2387
  } & {
2388
- fieldType: "input";
2388
+ fieldType: "hidden";
2389
2389
  placeholder?: string;
2390
2390
  } & Omit<import("../../components/base/SharedInput/Input").InputProps<import("react-hook-form").FieldValues>, "control"> & import("../../appConfig.type").FieldRules<import("react-hook-form").FieldValues> & Partial<import("../../components/base/FrankieActionField/FrankieActionField").ActionToggleConfig> & {
2391
2391
  disabledVisually?: boolean;
@@ -3080,7 +3080,7 @@ export declare const ausAddressField: {
3080
3080
  isManual: boolean;
3081
3081
  requireSelection: boolean;
3082
3082
  name: string;
3083
- fieldType: "hidden";
3083
+ fieldType: "input";
3084
3084
  dataType?: import("../../appConfig.type").FormFieldDataType;
3085
3085
  hide?: boolean;
3086
3086
  style?: import("../../appConfig.type").Styles;
@@ -3149,7 +3149,7 @@ export declare const ausAddressField: {
3149
3149
  isManual: boolean;
3150
3150
  requireSelection: boolean;
3151
3151
  name: string;
3152
- fieldType: "hidden";
3152
+ fieldType: "input";
3153
3153
  dataType?: import("../../appConfig.type").FormFieldDataType;
3154
3154
  hide?: boolean;
3155
3155
  style?: import("../../appConfig.type").Styles;
@@ -3219,7 +3219,7 @@ export declare const ausAddressField: {
3219
3219
  isManual: boolean;
3220
3220
  requireSelection: boolean;
3221
3221
  name: string;
3222
- fieldType: "hidden";
3222
+ fieldType: "input";
3223
3223
  dataType?: import("../../appConfig.type").FormFieldDataType;
3224
3224
  hide?: boolean;
3225
3225
  style?: import("../../appConfig.type").Styles;
@@ -3292,7 +3292,7 @@ export declare const ausAddressField: {
3292
3292
  isManual: boolean;
3293
3293
  requireSelection: boolean;
3294
3294
  name: string;
3295
- fieldType: "hidden";
3295
+ fieldType: "input";
3296
3296
  dataType?: import("../../appConfig.type").FormFieldDataType;
3297
3297
  hide?: boolean;
3298
3298
  style?: import("../../appConfig.type").Styles;
@@ -3366,7 +3366,7 @@ export declare const ausAddressField: {
3366
3366
  isManual: boolean;
3367
3367
  requireSelection: boolean;
3368
3368
  name: string;
3369
- fieldType: "input";
3369
+ fieldType: "hidden";
3370
3370
  dataType?: import("../../appConfig.type").FormFieldDataType;
3371
3371
  hide?: boolean;
3372
3372
  style?: import("../../appConfig.type").Styles;
@@ -3435,7 +3435,7 @@ export declare const ausAddressField: {
3435
3435
  isManual: boolean;
3436
3436
  requireSelection: boolean;
3437
3437
  name: string;
3438
- fieldType: "input";
3438
+ fieldType: "hidden";
3439
3439
  dataType?: import("../../appConfig.type").FormFieldDataType;
3440
3440
  hide?: boolean;
3441
3441
  style?: import("../../appConfig.type").Styles;
@@ -3505,7 +3505,7 @@ export declare const ausAddressField: {
3505
3505
  isManual: boolean;
3506
3506
  requireSelection: boolean;
3507
3507
  name: string;
3508
- fieldType: "input";
3508
+ fieldType: "hidden";
3509
3509
  dataType?: import("../../appConfig.type").FormFieldDataType;
3510
3510
  hide?: boolean;
3511
3511
  style?: import("../../appConfig.type").Styles;
@@ -3578,7 +3578,7 @@ export declare const ausAddressField: {
3578
3578
  isManual: boolean;
3579
3579
  requireSelection: boolean;
3580
3580
  name: string;
3581
- fieldType: "input";
3581
+ fieldType: "hidden";
3582
3582
  dataType?: import("../../appConfig.type").FormFieldDataType;
3583
3583
  hide?: boolean;
3584
3584
  style?: import("../../appConfig.type").Styles;
@@ -1 +1 @@
1
- { "version": "1.10.1" }
1
+ { "version": "1.10.2-rc" }
package/dist/release.txt CHANGED
@@ -1 +1 @@
1
-
1
+ rc
package/dist/version.txt CHANGED
@@ -1 +1 @@
1
-
1
+ 1.10.2-rc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frankieone/one-sdk",
3
- "version": "1.10.1",
3
+ "version": "1.10.2-rc",
4
4
  "cliVersion": "0.0.2",
5
5
  "description": "FrankieOne OneSDK",
6
6
  "keywords": [],
@@ -77,7 +77,7 @@
77
77
  "usehooks-ts": "^3.0.2",
78
78
  "utf8": "^3.0.0",
79
79
  "uuid": "^8.3.2",
80
- "zod": "^3.19.1"
80
+ "zod": "4.6.6"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@babel/core": "^7.24.8",