@startbahn/startrail-sdk-js 1.31.1 → 1.32.0

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.
@@ -130856,7 +130856,7 @@ const isSignup = (config) => {
130856
130856
  * Format data passed from end-users for torus-embed configuration
130857
130857
  */
130858
130858
  const formatConfigForTorusUI = (config) => {
130859
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
130859
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12;
130860
130860
  let customUi = {};
130861
130861
  let lang;
130862
130862
  const tkeyDesc = {
@@ -130867,24 +130867,29 @@ const formatConfigForTorusUI = (config) => {
130867
130867
  for (let i = 0; i < langList.length; i++) {
130868
130868
  lang = langList[i];
130869
130869
  customUi = Object.assign(Object.assign({}, customUi), { [lang]: {
130870
+ embed: {
130871
+ continue: ((_c = (_b = (_a = config === null || config === void 0 ? void 0 : config.customUi) === null || _a === void 0 ? void 0 : _a.words) === null || _b === void 0 ? void 0 : _b[lang].embed) === null || _c === void 0 ? void 0 : _c.continue) || undefined,
130872
+ actionRequired: ((_f = (_e = (_d = config === null || config === void 0 ? void 0 : config.customUi) === null || _d === void 0 ? void 0 : _d.words) === null || _e === void 0 ? void 0 : _e[lang].embed) === null || _f === void 0 ? void 0 : _f.actionRequired) || undefined,
130873
+ pendingAction: ((_j = (_h = (_g = config === null || config === void 0 ? void 0 : config.customUi) === null || _g === void 0 ? void 0 : _g.words) === null || _h === void 0 ? void 0 : _h[lang].embed) === null || _j === void 0 ? void 0 : _j.pendingAction) || undefined
130874
+ },
130870
130875
  dappLogin: {
130871
130876
  yourDigital: config.conditionalWords.subtitle[lang],
130872
130877
  signIn: config.conditionalWords.authLabel[lang],
130873
- termsConditions: ((_d = (_c = (_b = (_a = config === null || config === void 0 ? void 0 : config.customUi) === null || _a === void 0 ? void 0 : _a.words) === null || _b === void 0 ? void 0 : _b[lang]) === null || _c === void 0 ? void 0 : _c.modal) === null || _d === void 0 ? void 0 : _d.termsConditions) || constant_1.DEFAULT_WORD.dappLogin.termsConditions[lang],
130878
+ termsConditions: ((_o = (_m = (_l = (_k = config === null || config === void 0 ? void 0 : config.customUi) === null || _k === void 0 ? void 0 : _k.words) === null || _l === void 0 ? void 0 : _l[lang]) === null || _m === void 0 ? void 0 : _m.modal) === null || _o === void 0 ? void 0 : _o.termsConditions) || constant_1.DEFAULT_WORD.dappLogin.termsConditions[lang],
130874
130879
  termsLearnMore: '',
130875
- continueWith: ((_h = (_g = (_f = (_e = config === null || config === void 0 ? void 0 : config.customUi) === null || _e === void 0 ? void 0 : _e.words) === null || _f === void 0 ? void 0 : _f[lang]) === null || _g === void 0 ? void 0 : _g.modal) === null || _h === void 0 ? void 0 : _h.continueLogin) || constant_1.DEFAULT_WORD.dappLogin.continueWith[lang]
130880
+ continueWith: ((_s = (_r = (_q = (_p = config === null || config === void 0 ? void 0 : config.customUi) === null || _p === void 0 ? void 0 : _p.words) === null || _q === void 0 ? void 0 : _q[lang]) === null || _r === void 0 ? void 0 : _r.modal) === null || _s === void 0 ? void 0 : _s.continueLogin) || constant_1.DEFAULT_WORD.dappLogin.continueWith[lang]
130876
130881
  },
130877
130882
  login: {
130878
130883
  buttonText: config.conditionalWords.emailButton[lang]
130879
130884
  },
130880
130885
  dappTransfer: {
130881
- permission: ((_m = (_l = (_k = (_j = config === null || config === void 0 ? void 0 : config.customUi) === null || _j === void 0 ? void 0 : _j.words) === null || _k === void 0 ? void 0 : _k[lang]) === null || _l === void 0 ? void 0 : _l.signPopup) === null || _m === void 0 ? void 0 : _m.title) || constant_1.DEFAULT_WORD.dappTransfer.permission[lang],
130882
- data: ((_r = (_q = (_p = (_o = config === null || config === void 0 ? void 0 : config.customUi) === null || _o === void 0 ? void 0 : _o.words) === null || _p === void 0 ? void 0 : _p[lang]) === null || _q === void 0 ? void 0 : _q.signPopup) === null || _r === void 0 ? void 0 : _r.dataToSign) || constant_1.DEFAULT_WORD.dappTransfer.data[lang]
130886
+ permission: ((_w = (_v = (_u = (_t = config === null || config === void 0 ? void 0 : config.customUi) === null || _t === void 0 ? void 0 : _t.words) === null || _u === void 0 ? void 0 : _u[lang]) === null || _v === void 0 ? void 0 : _v.signPopup) === null || _w === void 0 ? void 0 : _w.title) || constant_1.DEFAULT_WORD.dappTransfer.permission[lang],
130887
+ data: ((_0 = (_z = (_y = (_x = config === null || config === void 0 ? void 0 : config.customUi) === null || _x === void 0 ? void 0 : _x.words) === null || _y === void 0 ? void 0 : _y[lang]) === null || _z === void 0 ? void 0 : _z.signPopup) === null || _0 === void 0 ? void 0 : _0.dataToSign) || constant_1.DEFAULT_WORD.dappTransfer.data[lang]
130883
130888
  },
130884
130889
  dappProvider: {
130885
- requestFrom: ((_v = (_u = (_t = (_s = config === null || config === void 0 ? void 0 : config.customUi) === null || _s === void 0 ? void 0 : _s.words) === null || _t === void 0 ? void 0 : _t[lang]) === null || _u === void 0 ? void 0 : _u.signPopup) === null || _v === void 0 ? void 0 : _v.requestFrom) || constant_1.DEFAULT_WORD.dappProvider.requestFrom[lang],
130886
- confirm: ((_z = (_y = (_x = (_w = config === null || config === void 0 ? void 0 : config.customUi) === null || _w === void 0 ? void 0 : _w.words) === null || _x === void 0 ? void 0 : _x[lang]) === null || _y === void 0 ? void 0 : _y.signPopup) === null || _z === void 0 ? void 0 : _z.confirm) || constant_1.DEFAULT_WORD.dappProvider.confirm[lang],
130887
- cancel: ((_3 = (_2 = (_1 = (_0 = config === null || config === void 0 ? void 0 : config.customUi) === null || _0 === void 0 ? void 0 : _0.words) === null || _1 === void 0 ? void 0 : _1[lang]) === null || _2 === void 0 ? void 0 : _2.signPopup) === null || _3 === void 0 ? void 0 : _3.cancel) || constant_1.DEFAULT_WORD.dappProvider.cancel[lang]
130890
+ requestFrom: ((_4 = (_3 = (_2 = (_1 = config === null || config === void 0 ? void 0 : config.customUi) === null || _1 === void 0 ? void 0 : _1.words) === null || _2 === void 0 ? void 0 : _2[lang]) === null || _3 === void 0 ? void 0 : _3.signPopup) === null || _4 === void 0 ? void 0 : _4.requestFrom) || constant_1.DEFAULT_WORD.dappProvider.requestFrom[lang],
130891
+ confirm: ((_8 = (_7 = (_6 = (_5 = config === null || config === void 0 ? void 0 : config.customUi) === null || _5 === void 0 ? void 0 : _5.words) === null || _6 === void 0 ? void 0 : _6[lang]) === null || _7 === void 0 ? void 0 : _7.signPopup) === null || _8 === void 0 ? void 0 : _8.confirm) || constant_1.DEFAULT_WORD.dappProvider.confirm[lang],
130892
+ cancel: ((_12 = (_11 = (_10 = (_9 = config === null || config === void 0 ? void 0 : config.customUi) === null || _9 === void 0 ? void 0 : _9.words) === null || _10 === void 0 ? void 0 : _10[lang]) === null || _11 === void 0 ? void 0 : _11.signPopup) === null || _12 === void 0 ? void 0 : _12.cancel) || constant_1.DEFAULT_WORD.dappProvider.cancel[lang]
130888
130893
  },
130889
130894
  dappCreateTkey: {
130890
130895
  linkDesc1: tkeyDesc[lang],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startbahn/startrail-sdk-js",
3
- "version": "1.31.1",
3
+ "version": "v1.32.0",
4
4
  "description": "Startrail Api for JS SDK",
5
5
  "main": "dist/startrail-sdk.js",
6
6
  "unpkg": "dist/startrail-sdk.js",
@@ -161,6 +161,11 @@ declare module '@startbahn/startrail-sdk-js/types' {
161
161
  [lang in Language]: CustomWords;
162
162
  };
163
163
  export interface CustomWords {
164
+ embed?: {
165
+ continue: string;
166
+ actionRequired: string;
167
+ pendingAction: string;
168
+ };
164
169
  emailAuthPopup?: {
165
170
  titleLogin: string;
166
171
  titleSignup: string;