@basis-theory/web-elements 1.10.0 → 1.11.1
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/CHANGELOG.md +12 -0
- package/dist/bundle/index.js +1 -1
- package/dist/main/index.js +4 -1
- package/dist/module/module.js +5 -2
- package/dist/package.json +3 -3
- package/dist/types/index.d.ts +3 -514
- package/dist/types/{src/types → types}/elements/elements.d.ts +1 -1
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/version.d.ts +1 -0
- package/package.json +3 -3
- package/dist/types/src/index.d.ts +0 -8
- package/dist/types/src/types/index.d.ts +0 -1
- package/dist/types/src/version.d.ts +0 -1
- package/dist/types/tsconfig.tsbuildinfo +0 -1
- /package/dist/types/{src/BasisTheory.d.ts → BasisTheory.d.ts} +0 -0
- /package/dist/types/{src/common → common}/BasisTheoryApiError.d.ts +0 -0
- /package/dist/types/{src/common → common}/BasisTheoryValidationError.d.ts +0 -0
- /package/dist/types/{src/common → common}/HttpClientError.d.ts +0 -0
- /package/dist/types/{src/common → common}/index.d.ts +0 -0
- /package/dist/types/{src/common → common}/logging.d.ts +0 -0
- /package/dist/types/{src/elements → elements}/constants.d.ts +0 -0
- /package/dist/types/{src/elements → elements}/getOrCreateScriptElement.d.ts +0 -0
- /package/dist/types/{src/elements → elements}/index.d.ts +0 -0
- /package/dist/types/{src/elements → elements}/loadElements.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/cardTypes.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/events.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/index.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/options.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/services/index.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/services/proxy.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/services/sessions.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/services/shared.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/services/token-intents.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/services/tokenize.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/services/tokens.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/shared.d.ts +0 -0
- /package/dist/types/{src/types → types}/elements/styles.d.ts +0 -0
- /package/dist/types/{src/types → types}/models/bin-details.d.ts +0 -0
- /package/dist/types/{src/types → types}/models/cards.d.ts +0 -0
- /package/dist/types/{src/types → types}/models/index.d.ts +0 -0
- /package/dist/types/{src/types → types}/models/shared.d.ts +0 -0
- /package/dist/types/{src/types → types}/models/token-intents.d.ts +0 -0
- /package/dist/types/{src/types → types}/models/tokenize.d.ts +0 -0
- /package/dist/types/{src/types → types}/models/tokens.d.ts +0 -0
- /package/dist/types/{src/types → types}/models/util.d.ts +0 -0
- /package/dist/types/{src/types → types}/sdk/index.d.ts +0 -0
- /package/dist/types/{src/types → types}/sdk/services/http.d.ts +0 -0
- /package/dist/types/{src/types → types}/sdk/services/index.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [1.11.1] - 2025-03-20
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- 46b4c73 2025-03-20 fix: export web elements from `types` path (#405) by kevin@basistheory.com
|
|
6
|
+
|
|
7
|
+
## [1.11.0] - 2025-03-20
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- 5e3c058 2025-03-20 feat: re-export types from web elements (#404) by kevin@basistheory.com
|
|
12
|
+
|
|
1
13
|
## [1.10.0] - 2025-03-18
|
|
2
14
|
|
|
3
15
|
### Features
|
package/dist/bundle/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function e(e,r,n,t,o,i,l){try{var s=e[i](l),c=s.value}catch(e){n(e);return}s.done?r(c):Promise.resolve(c).then(t,o)}function r(r){return function(){var n=this,t=arguments;return new Promise(function(o,i){var l=r.apply(n,t);function s(r){e(l,o,i,s,c,"next",r)}function c(r){e(l,o,i,s,c,"throw",r)}s(void 0)})}}function n(e,r){var n,t,o,i,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw TypeError("Generator is already executing.");for(;l;)try{if(n=1,t&&(o=2&i[0]?t.return:i[0]?t.throw||((o=t.return)&&o.call(t),0):t.next)&&!(o=o.call(t,i[1])).done)return o;switch(t=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,t=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!(o=(o=l.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){l=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){l.label=i[1];break}if(6===i[0]&&l.label<o[1]){l.label=o[1],o=i;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(i);break}o[2]&&l.ops.pop(),l.trys.pop();continue}i=r.call(e,l)}catch(e){i=[6,e],t=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var t,o,i,l,s,c,a=function(e){var r=document.querySelector('script[src^="'.concat(e,'"]'));if(r)return r;var n=document.head||document.body;if(!n)throw Error("No <head> or <body> elements found in the document.");var t=Object.assign(document.createElement("script"),{src:e});return n.append(t),t},u="Tried to load BasisTheoryElements in a non-DOM environment.",d="Unable to load the Elements script. This may be due to network restrictions or browser extensions like ad blockers interfering with script loading. Check browser settings or network connection and try again.",f="https://".concat(void 0),h=(o=!0,i=r(function(e,r){var t,i,l,s,c,a,u=arguments;return n(this,function(n){switch(n.label){case 0:if(t=u.length>2&&void 0!==u[2]?u[2]:{},!o)return[2];a=function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.forEach(function(r){var t;t=n[r],r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t})}return e}({level:r,message:e,service:"web-elements-loader",env:f.includes("localhost")?"local":f.includes("dev")?"dev":"prod",referrer:null===(i=document)||void 0===i?void 0:i.referrer,origin:null===(l=window)||void 0===l?void 0:l.location.origin,url:null===(s=window)||void 0===s?void 0:s.location.href,userAgent:null===(c=navigator)||void 0===c?void 0:c.userAgent},t),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,fetch("https://http-intake.logs.datadoghq.com/v1/input/".concat("pubb96b84a13912504f4354f2d794ea4fab"),{method:"POST",body:JSON.stringify(a),headers:{"Content-Type":"application/json"}})];case 2:return n.sent(),[3,4];case 3:return n.sent(),console.warn("There was an error sending telemetry."),[3,4];case 4:return[2]}})}),l=function(e,r){return i.apply(this,arguments)},{setTelemetryEnabled:function(e){o=e},log:{error:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(e,"error",r)},info:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(e,"info",r)},warn:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(e,"warn",r)}}}),p=function(e,t){return new Promise(function(o,i){var l,s=a(e),c=!1;s.addEventListener("load",function(){window.BasisTheoryElements?o(window.BasisTheoryElements):(r(function(){return n(this,function(e){switch(e.label){case 0:return[4,h.log.error("Elements not found on window on load",{logType:"elementsNotFoundOnWindow",logOrigin:"loadScript",retryCount:t})];case 1:return e.sent(),[2]}})})(),i(Error("Basis Theory Elements did not load properly. Check network tab for more details.")))}),s.addEventListener("error",(l=r(function(r){var l,a,f;return n(this,function(n){switch(n.label){case 0:if(c)return[2];return c=!0,[4,h.log.error("Elements script onError event",{logType:"elementsScriptOnError",logOrigin:"loadScript",retryCount:t,event:{message:null==r?void 0:r.message,source:null==r?void 0:r.filename,lineno:null==r?void 0:r.lineno,colno:null==r?void 0:r.colno,error:null==r?void 0:r.error,target:null==r?void 0:r.target}})];case 1:n.sent(),n.label=2;case 2:return n.trys.push([2,3,,5]),null==s||s.remove(),[3,5];case 3:return l=n.sent(),[4,h.log.error("Error removing script from DOM on retry attempt ".concat(t),{logType:"scriptRemovalError",logOrigin:"loadScript",retryCount:t,removalError:l})];case 4:return n.sent(),[3,5];case 5:if(0===t)return p(e,t+1).then(o).catch(i),[2];n.label=6;case 6:return n.trys.push([6,12,,14]),[4,fetch(e)];case 7:if((a=n.sent()).ok)return[3,9];return[4,h.log.error("Second attempt to load elements script failed, fetch failed with status: ".concat(a.status,"."),{logType:"elementsScriptFetchFailure",logOrigin:"loadScript",retryCount:t,fetchResult:"error",fetchResponse:a})];case 8:return n.sent(),i(Error(u)),[3,11];case 9:return[4,h.log.error("Second attempt to load elements script failed, fetch success",{logType:"elementsScriptFetchFailure",logOrigin:"loadScript",retryCount:t,fetchResult:"success",fetchResponse:a})];case 10:n.sent(),i(Error(d)),n.label=11;case 11:return[3,14];case 12:return f=n.sent(),[4,h.log.error("Second attempt failed to load elements script failed, fetch network error.",{logType:"elementsScriptFetchError",logOrigin:"loadScript",retryCount:t,fetchResult:"error",fetchError:f})];case 13:return n.sent(),i(Error(d)),[3,14];case 14:return i((null==r?void 0:r.error)||(null==r?void 0:r.message)||Error(d)),[2]}})}),function(e){return l.apply(this,arguments)}))})},v={};v={version:"1.
|
|
1
|
+
!function(){function e(e,r,n,t,o,i,l){try{var s=e[i](l),c=s.value}catch(e){n(e);return}s.done?r(c):Promise.resolve(c).then(t,o)}function r(r){return function(){var n=this,t=arguments;return new Promise(function(o,i){var l=r.apply(n,t);function s(r){e(l,o,i,s,c,"next",r)}function c(r){e(l,o,i,s,c,"throw",r)}s(void 0)})}}function n(e,r){var n,t,o,i,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw TypeError("Generator is already executing.");for(;l;)try{if(n=1,t&&(o=2&i[0]?t.return:i[0]?t.throw||((o=t.return)&&o.call(t),0):t.next)&&!(o=o.call(t,i[1])).done)return o;switch(t=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,t=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!(o=(o=l.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){l=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){l.label=i[1];break}if(6===i[0]&&l.label<o[1]){l.label=o[1],o=i;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(i);break}o[2]&&l.ops.pop(),l.trys.pop();continue}i=r.call(e,l)}catch(e){i=[6,e],t=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var t,o,i,l,s,c,a=function(e){var r=document.querySelector('script[src^="'.concat(e,'"]'));if(r)return r;var n=document.head||document.body;if(!n)throw Error("No <head> or <body> elements found in the document.");var t=Object.assign(document.createElement("script"),{src:e});return n.append(t),t},u="Tried to load BasisTheoryElements in a non-DOM environment.",d="Unable to load the Elements script. This may be due to network restrictions or browser extensions like ad blockers interfering with script loading. Check browser settings or network connection and try again.",f="https://".concat(void 0),h=(o=!0,i=r(function(e,r){var t,i,l,s,c,a,u=arguments;return n(this,function(n){switch(n.label){case 0:if(t=u.length>2&&void 0!==u[2]?u[2]:{},!o)return[2];a=function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.forEach(function(r){var t;t=n[r],r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t})}return e}({level:r,message:e,service:"web-elements-loader",env:f.includes("localhost")?"local":f.includes("dev")?"dev":"prod",referrer:null===(i=document)||void 0===i?void 0:i.referrer,origin:null===(l=window)||void 0===l?void 0:l.location.origin,url:null===(s=window)||void 0===s?void 0:s.location.href,userAgent:null===(c=navigator)||void 0===c?void 0:c.userAgent},t),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,fetch("https://http-intake.logs.datadoghq.com/v1/input/".concat("pubb96b84a13912504f4354f2d794ea4fab"),{method:"POST",body:JSON.stringify(a),headers:{"Content-Type":"application/json"}})];case 2:return n.sent(),[3,4];case 3:return n.sent(),console.warn("There was an error sending telemetry."),[3,4];case 4:return[2]}})}),l=function(e,r){return i.apply(this,arguments)},{setTelemetryEnabled:function(e){o=e},log:{error:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(e,"error",r)},info:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(e,"info",r)},warn:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(e,"warn",r)}}}),p=function(e,t){return new Promise(function(o,i){var l,s=a(e),c=!1;s.addEventListener("load",function(){window.BasisTheoryElements?o(window.BasisTheoryElements):(r(function(){return n(this,function(e){switch(e.label){case 0:return[4,h.log.error("Elements not found on window on load",{logType:"elementsNotFoundOnWindow",logOrigin:"loadScript",retryCount:t})];case 1:return e.sent(),[2]}})})(),i(Error("Basis Theory Elements did not load properly. Check network tab for more details.")))}),s.addEventListener("error",(l=r(function(r){var l,a,f;return n(this,function(n){switch(n.label){case 0:if(c)return[2];return c=!0,[4,h.log.error("Elements script onError event",{logType:"elementsScriptOnError",logOrigin:"loadScript",retryCount:t,event:{message:null==r?void 0:r.message,source:null==r?void 0:r.filename,lineno:null==r?void 0:r.lineno,colno:null==r?void 0:r.colno,error:null==r?void 0:r.error,target:null==r?void 0:r.target}})];case 1:n.sent(),n.label=2;case 2:return n.trys.push([2,3,,5]),null==s||s.remove(),[3,5];case 3:return l=n.sent(),[4,h.log.error("Error removing script from DOM on retry attempt ".concat(t),{logType:"scriptRemovalError",logOrigin:"loadScript",retryCount:t,removalError:l})];case 4:return n.sent(),[3,5];case 5:if(0===t)return p(e,t+1).then(o).catch(i),[2];n.label=6;case 6:return n.trys.push([6,12,,14]),[4,fetch(e)];case 7:if((a=n.sent()).ok)return[3,9];return[4,h.log.error("Second attempt to load elements script failed, fetch failed with status: ".concat(a.status,"."),{logType:"elementsScriptFetchFailure",logOrigin:"loadScript",retryCount:t,fetchResult:"error",fetchResponse:a})];case 8:return n.sent(),i(Error(u)),[3,11];case 9:return[4,h.log.error("Second attempt to load elements script failed, fetch success",{logType:"elementsScriptFetchFailure",logOrigin:"loadScript",retryCount:t,fetchResult:"success",fetchResponse:a})];case 10:n.sent(),i(Error(d)),n.label=11;case 11:return[3,14];case 12:return f=n.sent(),[4,h.log.error("Second attempt failed to load elements script failed, fetch network error.",{logType:"elementsScriptFetchError",logOrigin:"loadScript",retryCount:t,fetchResult:"error",fetchError:f})];case 13:return n.sent(),i(Error(d)),[3,14];case 14:return i((null==r?void 0:r.error)||(null==r?void 0:r.message)||Error(d)),[2]}})}),function(e){return l.apply(this,arguments)}))})},v={};v={version:"1.11.1"};var m=(s=r(function(e,o){var i,l,s,c;return n(this,function(a){switch(a.label){case 0:var d;if(!e||0===e.length)throw Error("API key is required");return i=(null==o?void 0:o._devMode)?"js.flock-dev.com":"js.basistheory.com",[4,(d="https://".concat(i,"/web-elements/").concat(v.version,"/client/index.js"),t||(t=new Promise(function(e,t){if(("undefined"==typeof window?"undefined":(o=window)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)!="object"){r(function(){return n(this,function(e){switch(e.label){case 0:return[4,h.log.warn(u,{logType:"elementsNonDomError",logOrigin:"loadElements"})];case 1:return e.sent(),t(Error(u)),[2]}})})();return}if(window.BasisTheoryElements){e(window.BasisTheoryElements);return}var o,i="https://".concat(void 0,"/elements");if(void 0!==d)try{i=new URL(d).toString().replace(RegExp("\\/$","u"),"")}catch(e){throw r(function(){return n(this,function(e){switch(e.label){case 0:return[4,h.log.warn("Invalid format for the given Elements client url.",{logType:"invalidClientUrlError",logOrigin:"loadElements"})];case 1:return e.sent(),[2]}})})(),Error("Invalid format for the given Elements client url.")}p(i,0).then(e).catch(function(e){t(e)})})),t)];case 1:return[2,a.sent().init(e,"https://".concat(i,"/web-elements/").concat(v.version,"/hosted-elements/"),!1,null===(l=null==o?void 0:o.useSameOriginApi)||void 0===l||l,null!==(s=null==o?void 0:o.disableTelemetry)&&void 0!==s&&s,null!==(c=null==o?void 0:o.debug)&&void 0!==c&&c)]}})}),function(e,r){return s.apply(this,arguments)}),g=((c=g||{}).DECIMAL="decimal",c.EMAIL="email",c.NONE="none",c.NUMERIC="numeric",c.SEARCH="search",c.TEL="tel",c.TEXT="text",c.URL="url",c);"undefined"!=typeof window&&document.currentScript&&!window.basistheory&&(window.basistheory=m)}();
|
package/dist/main/index.js
CHANGED
|
@@ -309,7 +309,7 @@ const $6477b722f43d24f2$export$2b0a6e5a1c78018f = (elementsClientUrl)=>{
|
|
|
309
309
|
|
|
310
310
|
|
|
311
311
|
var $eef42ce81412d9ae$exports = {};
|
|
312
|
-
const $eef42ce81412d9ae$var$version = '1.
|
|
312
|
+
const $eef42ce81412d9ae$var$version = '1.11.1';
|
|
313
313
|
$eef42ce81412d9ae$exports = {
|
|
314
314
|
version: $eef42ce81412d9ae$var$version
|
|
315
315
|
};
|
|
@@ -326,6 +326,8 @@ const $316c9c8f85cead13$export$cbe2892587230861 = async (apiKey, options)=>{
|
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
var $001f46d7c9d998c1$exports = {};
|
|
329
|
+
|
|
330
|
+
$parcel$export($001f46d7c9d998c1$exports, "CARD_BRANDS", () => $ef6e1b024b683770$export$51be6d94c4fcf45);
|
|
329
331
|
var $94e2e5607fad631e$exports = {};
|
|
330
332
|
var $eb72fa80cc6cce99$exports = {};
|
|
331
333
|
|
|
@@ -908,6 +910,7 @@ $parcel$exportWildcard($94e2e5607fad631e$exports, $e6da8ffa145ef6b4$exports);
|
|
|
908
910
|
$parcel$exportWildcard($94e2e5607fad631e$exports, $79ee1b48c572ec2c$exports);
|
|
909
911
|
|
|
910
912
|
|
|
913
|
+
|
|
911
914
|
$parcel$exportWildcard($001f46d7c9d998c1$exports, $94e2e5607fad631e$exports);
|
|
912
915
|
|
|
913
916
|
|
package/dist/module/module.js
CHANGED
|
@@ -309,7 +309,7 @@ const $2cc07a9862fd14af$export$2b0a6e5a1c78018f = (elementsClientUrl)=>{
|
|
|
309
309
|
|
|
310
310
|
|
|
311
311
|
var $6a2f0bfcc5905f21$exports = {};
|
|
312
|
-
const $6a2f0bfcc5905f21$var$version = '1.
|
|
312
|
+
const $6a2f0bfcc5905f21$var$version = '1.11.1';
|
|
313
313
|
$6a2f0bfcc5905f21$exports = {
|
|
314
314
|
version: $6a2f0bfcc5905f21$var$version
|
|
315
315
|
};
|
|
@@ -326,6 +326,8 @@ const $65168f0452925da7$export$cbe2892587230861 = async (apiKey, options)=>{
|
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
var $e8df50a6ced49e58$exports = {};
|
|
329
|
+
|
|
330
|
+
$parcel$export($e8df50a6ced49e58$exports, "CARD_BRANDS", () => $2e9038c0999bba06$export$51be6d94c4fcf45);
|
|
329
331
|
var $8142f8fc8bbedd0b$exports = {};
|
|
330
332
|
var $6011935a2a75da1d$exports = {};
|
|
331
333
|
|
|
@@ -908,6 +910,7 @@ $parcel$exportWildcard($8142f8fc8bbedd0b$exports, $5c3fd4ec5ab25a5b$exports);
|
|
|
908
910
|
$parcel$exportWildcard($8142f8fc8bbedd0b$exports, $ce70703c3ce2f3a0$exports);
|
|
909
911
|
|
|
910
912
|
|
|
913
|
+
|
|
911
914
|
$parcel$exportWildcard($e8df50a6ced49e58$exports, $8142f8fc8bbedd0b$exports);
|
|
912
915
|
|
|
913
916
|
|
|
@@ -916,4 +919,4 @@ $parcel$exportWildcard($e8df50a6ced49e58$exports, $8142f8fc8bbedd0b$exports);
|
|
|
916
919
|
*/ if (typeof window !== 'undefined' && document.currentScript && !window.basistheory) window.basistheory = (0, $65168f0452925da7$export$cbe2892587230861);
|
|
917
920
|
|
|
918
921
|
|
|
919
|
-
export {$65168f0452925da7$export$cbe2892587230861 as basistheory, $6011935a2a75da1d$export$1748c2651c2c6e25 as VISA, $6011935a2a75da1d$export$1c604828de4cf9cf as MASTERCARD, $6011935a2a75da1d$export$67c5e4e99638ee87 as AMERICAN_EXPRESS, $6011935a2a75da1d$export$fcf88132c9601d5d as DINERS_CLUB, $6011935a2a75da1d$export$27b2e48e28163360 as DISCOVER, $6011935a2a75da1d$export$bf30f1ca7b266454 as JCB, $6011935a2a75da1d$export$8ed8e9ea6bbca19f as UNION_PAY, $6011935a2a75da1d$export$f08651c87c943e8 as MAESTRO, $6011935a2a75da1d$export$c4b8f606caaecf2c as ELO, $6011935a2a75da1d$export$58f9d4150439d06e as MIR, $6011935a2a75da1d$export$8f50e2757841117b as HIPER, $6011935a2a75da1d$export$adb072c9761d9e59 as HIPERCARD, $6011935a2a75da1d$export$35b475386df8059d as DEFAULT_CARD_TYPES, $0b7f2ce91f71c8fb$export$8141e4f9a897abe6 as ELEMENTS_TYPES, $ce70703c3ce2f3a0$export$e2bf52fc7723ec89 as SAFE_CSS_PROPERTIES, $ce70703c3ce2f3a0$export$e22a44f86989e3f4 as SAFE_CSS_PROPERTIES_ALTERNATES, $ce70703c3ce2f3a0$export$b5b27feb4cf29129 as SAFE_CSS_PROPERTIES_WITH_ALTERNATES, $ce70703c3ce2f3a0$export$fc323aec0bf844b as CARD_ELEMENT_STYLE_VARIANT_SELECTORS, $ce70703c3ce2f3a0$export$a15fff7fac404fd9 as CARD_ELEMENT_STYLE_VARIANTS, $ce70703c3ce2f3a0$export$c3a88e1ff160bfd6 as CARD_ELEMENT_STYLE_FONTS_ATTR};
|
|
922
|
+
export {$65168f0452925da7$export$cbe2892587230861 as basistheory, $2e9038c0999bba06$export$51be6d94c4fcf45 as CARD_BRANDS, $6011935a2a75da1d$export$1748c2651c2c6e25 as VISA, $6011935a2a75da1d$export$1c604828de4cf9cf as MASTERCARD, $6011935a2a75da1d$export$67c5e4e99638ee87 as AMERICAN_EXPRESS, $6011935a2a75da1d$export$fcf88132c9601d5d as DINERS_CLUB, $6011935a2a75da1d$export$27b2e48e28163360 as DISCOVER, $6011935a2a75da1d$export$bf30f1ca7b266454 as JCB, $6011935a2a75da1d$export$8ed8e9ea6bbca19f as UNION_PAY, $6011935a2a75da1d$export$f08651c87c943e8 as MAESTRO, $6011935a2a75da1d$export$c4b8f606caaecf2c as ELO, $6011935a2a75da1d$export$58f9d4150439d06e as MIR, $6011935a2a75da1d$export$8f50e2757841117b as HIPER, $6011935a2a75da1d$export$adb072c9761d9e59 as HIPERCARD, $6011935a2a75da1d$export$35b475386df8059d as DEFAULT_CARD_TYPES, $0b7f2ce91f71c8fb$export$8141e4f9a897abe6 as ELEMENTS_TYPES, $ce70703c3ce2f3a0$export$e2bf52fc7723ec89 as SAFE_CSS_PROPERTIES, $ce70703c3ce2f3a0$export$e22a44f86989e3f4 as SAFE_CSS_PROPERTIES_ALTERNATES, $ce70703c3ce2f3a0$export$b5b27feb4cf29129 as SAFE_CSS_PROPERTIES_WITH_ALTERNATES, $ce70703c3ce2f3a0$export$fc323aec0bf844b as CARD_ELEMENT_STYLE_VARIANT_SELECTORS, $ce70703c3ce2f3a0$export$a15fff7fac404fd9 as CARD_ELEMENT_STYLE_VARIANTS, $ce70703c3ce2f3a0$export$c3a88e1ff160bfd6 as CARD_ELEMENT_STYLE_FONTS_ATTR};
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basis-theory/web-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"repository": "https://github.com/basis-theory/web-elements",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"prebuild": "TARGET_DIR=../../web-elements/src node ../scripts/web-elements/write-version-file.js",
|
|
19
|
-
"build:dev": "yarn clean &&
|
|
20
|
-
"build": "node ../scripts/web-elements/prepare.js &&
|
|
19
|
+
"build:dev": "yarn clean && parcel build && yarn generateTypes && npx size-limit && yarn generate-sri",
|
|
20
|
+
"build": "node ../scripts/web-elements/prepare.js && parcel build --no-cache && yarn generateTypes && yarn generate-sri",
|
|
21
21
|
"clean": "rimraf dist .parcel-cache",
|
|
22
22
|
"generateTypes": "tsc --emitDeclarationOnly",
|
|
23
23
|
"generate-sri": "node ../scripts/web-elements/generate-sri.js",
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,519 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type CardBrandId = 'american-express' | 'diners-club' | 'discover' | 'elo' | 'hiper' | 'hipercard' | 'jcb' | 'maestro' | 'mastercard' | 'mir' | 'unionpay' | 'visa';
|
|
3
|
-
type CardBrandNiceType = 'American Express' | 'Diners Club' | 'Discover' | 'Elo' | 'Hiper' | 'Hipercard' | 'JCB' | 'Maestro' | 'Mastercard' | 'Mir' | 'UnionPay' | 'Visa';
|
|
4
|
-
type SecurityCodeLabel = 'CVV' | 'CVC' | 'CID' | 'CVN' | 'CVE' | 'CVP2';
|
|
5
|
-
export type CreditCardType = {
|
|
6
|
-
code: {
|
|
7
|
-
size: number;
|
|
8
|
-
name: SecurityCodeLabel | string;
|
|
9
|
-
};
|
|
10
|
-
gaps: number[];
|
|
11
|
-
lengths: number[];
|
|
12
|
-
niceType: CardBrandNiceType | string;
|
|
13
|
-
patterns: (number | [number, number])[];
|
|
14
|
-
type: CardBrandId | string;
|
|
15
|
-
};
|
|
16
|
-
export const VISA: CreditCardType;
|
|
17
|
-
export const MASTERCARD: CreditCardType;
|
|
18
|
-
export const AMERICAN_EXPRESS: CreditCardType;
|
|
19
|
-
export const DINERS_CLUB: CreditCardType;
|
|
20
|
-
export const DISCOVER: CreditCardType;
|
|
21
|
-
export const JCB: CreditCardType;
|
|
22
|
-
export const UNION_PAY: CreditCardType;
|
|
23
|
-
export const MAESTRO: CreditCardType;
|
|
24
|
-
export const ELO: CreditCardType;
|
|
25
|
-
export const MIR: CreditCardType;
|
|
26
|
-
export const HIPER: CreditCardType;
|
|
27
|
-
export const HIPERCARD: CreditCardType;
|
|
28
|
-
export const DEFAULT_CARD_TYPES: CreditCardType[];
|
|
29
|
-
interface RequestConfig {
|
|
30
|
-
headers?: Record<string, string>;
|
|
31
|
-
}
|
|
32
|
-
interface HttpClient {
|
|
33
|
-
post(url: string, payload: unknown, config?: RequestConfig): Promise<unknown>;
|
|
34
|
-
put(url: string, payload: unknown, config?: RequestConfig): Promise<unknown>;
|
|
35
|
-
patch(url: string, payload: unknown, config?: RequestConfig): Promise<unknown>;
|
|
36
|
-
get(url: string, config?: RequestConfig): Promise<unknown>;
|
|
37
|
-
delete(url: string, config?: RequestConfig): Promise<unknown>;
|
|
38
|
-
}
|
|
39
|
-
declare const CARD_BRANDS: readonly ["visa", "mastercard", "american-express", "discover", "diners-club", "jcb", "unionpay", "maestro", "elo", "hiper", "hipercard", "mir", "unknown"];
|
|
40
|
-
declare const CARD_ICON_POSITIONS: readonly ["left", "right", "none"];
|
|
41
|
-
declare const AUTOCOMPLETE_VALUES: readonly ["additional-name", "address-level1", "address-level2", "address-level3", "address-level4", "address-line1", "address-line2", "address-line3", "bday-day", "bday-month", "bday-year", "bday", "billing", "cc-additional-name", "cc-csc", "cc-exp-month", "cc-exp-year", "cc-exp", "cc-family-name", "cc-given-name", "cc-name", "cc-number", "cc-type", "country-name", "country", "current-password", "email", "family-name", "fax", "given-name", "home", "honorific-prefix", "honorific-suffix", "language", "mobile", "name", "new-password", "nickname", "off", "on", "one-time-code", "organization-title", "organization", "page", "postal-code", "sex", "shipping", "street-address", "tel-area-code", "tel-country-code", "tel-extension", "tel-local-prefix", "tel-local-suffix", "tel-local", "tel-national", "tel", "transaction-amount", "transaction-currency", "url", "username", "work"];
|
|
42
|
-
export type FieldErrorType = 'incomplete' | 'invalid';
|
|
43
|
-
export type ConfigErrorType = 'missing-configuration' | 'missing-permission' | 'invalid-configuration';
|
|
44
|
-
export interface ConfigError {
|
|
45
|
-
type: ConfigErrorType;
|
|
46
|
-
message: string;
|
|
47
|
-
}
|
|
48
|
-
export interface Targeted {
|
|
49
|
-
targetId: string;
|
|
50
|
-
}
|
|
51
|
-
export type ListenableKey = 'Escape' | 'Enter';
|
|
52
|
-
export interface FieldError {
|
|
53
|
-
targetId: string;
|
|
54
|
-
type: FieldErrorType;
|
|
55
|
-
}
|
|
56
|
-
export interface PropertyError {
|
|
57
|
-
type: FieldErrorType;
|
|
58
|
-
}
|
|
59
|
-
export interface ElementMetadata {
|
|
60
|
-
complete: boolean;
|
|
61
|
-
valid: boolean;
|
|
62
|
-
maskSatisfied?: boolean;
|
|
63
|
-
empty: boolean;
|
|
64
|
-
errors?: FieldError[] | Omit<FieldError, 'targetId'>[];
|
|
65
|
-
}
|
|
66
|
-
export interface CardMetadata {
|
|
67
|
-
cardBrand: Brand;
|
|
68
|
-
cardLast4?: string;
|
|
69
|
-
cardBin?: string;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Card brands type
|
|
73
|
-
*/
|
|
74
|
-
export type Brand = typeof CARD_BRANDS[number];
|
|
75
|
-
/**
|
|
76
|
-
* Icon position for card number element
|
|
77
|
-
*/
|
|
78
|
-
export type CardIconPosition = typeof CARD_ICON_POSITIONS[number];
|
|
79
|
-
/**
|
|
80
|
-
* Values for the element input autocomplete attribute
|
|
81
|
-
*/
|
|
82
|
-
export type AutoCompleteValue = typeof AUTOCOMPLETE_VALUES[number];
|
|
83
|
-
/**
|
|
84
|
-
* Type used for detokenization responses stored on Data Elements
|
|
85
|
-
*/
|
|
86
|
-
export type DataElementReference = {
|
|
87
|
-
correlationId: string;
|
|
88
|
-
elementId: string;
|
|
89
|
-
path: string;
|
|
90
|
-
};
|
|
91
|
-
export type EventType = 'ready' | 'change' | 'focus' | 'blur' | 'keydown';
|
|
92
|
-
export interface BaseEvent<T extends EventType> {
|
|
93
|
-
type: T;
|
|
94
|
-
}
|
|
95
|
-
export type ReadyEvent = BaseEvent<'ready'>;
|
|
96
|
-
export type ChangeEvent = BaseEvent<'change'> & {
|
|
97
|
-
empty: boolean;
|
|
98
|
-
complete: boolean;
|
|
99
|
-
valid?: boolean;
|
|
100
|
-
maskSatisfied?: boolean;
|
|
101
|
-
errors?: FieldError[];
|
|
102
|
-
};
|
|
103
|
-
export type CardChangeEvent = ChangeEvent & {
|
|
104
|
-
cardBrand: Brand;
|
|
105
|
-
cardLast4?: string;
|
|
106
|
-
cardBin?: string;
|
|
107
|
-
};
|
|
108
|
-
export type InputFocusEvent = BaseEvent<'focus'> & Targeted;
|
|
109
|
-
export type InputBlurEvent = BaseEvent<'blur'> & Targeted;
|
|
110
|
-
export type InputKeydownEvent = BaseEvent<'keydown'> & Targeted & {
|
|
111
|
-
key: ListenableKey;
|
|
112
|
-
} & Pick<KeyboardEvent, 'altKey' | 'ctrlKey' | 'shiftKey' | 'metaKey'>;
|
|
113
|
-
export type BaseElementEvents = ReadyEvent | InputFocusEvent | InputBlurEvent | InputKeydownEvent;
|
|
114
|
-
export type TextElementEvents = BaseElementEvents | ChangeEvent;
|
|
115
|
-
export type CardElementEvents = BaseElementEvents | CardChangeEvent;
|
|
116
|
-
export type CardNumberElementEvents = BaseElementEvents | CardChangeEvent;
|
|
117
|
-
export type CardExpirationDateElementEvents = BaseElementEvents | ChangeEvent;
|
|
118
|
-
export type CardVerificationCodeElementEvents = BaseElementEvents | ChangeEvent;
|
|
119
|
-
/**
|
|
120
|
-
* Utility type that helps find a Union type based on a `type` property
|
|
121
|
-
*/
|
|
122
|
-
type FindByType<Union, Type> = Union extends {
|
|
123
|
-
type: Type;
|
|
124
|
-
} ? Union : never;
|
|
125
|
-
export type ElementEventListener<Events, Type> = (event: FindByType<Events, Type>) => void;
|
|
126
|
-
export interface Subscription {
|
|
127
|
-
unsubscribe(): void;
|
|
128
|
-
}
|
|
129
|
-
export const SAFE_CSS_PROPERTIES: readonly ["backgroundColor", "color", "fontFamily", "fontSize", "fontSmooth", "fontStyle", "fontVariant", "fontWeight", "lineHeight", "letterSpacing", "textAlign", "padding", "textDecoration", "textShadow", "textTransform"];
|
|
130
|
-
export type SafeCSSProperty = typeof SAFE_CSS_PROPERTIES[number];
|
|
131
|
-
export const SAFE_CSS_PROPERTIES_ALTERNATES: Partial<Record<SafeCSSProperty, string[]>>;
|
|
132
|
-
export const SAFE_CSS_PROPERTIES_WITH_ALTERNATES: string[];
|
|
133
|
-
export type SafeStyle = Pick<Properties, SafeCSSProperty>;
|
|
134
|
-
export const CARD_ELEMENT_STYLE_VARIANT_SELECTORS: readonly [":hover", ":focus", ":read-only", "::placeholder", "::selection", ":disabled"];
|
|
135
|
-
export type CardElementStyleVariantSelector = typeof CARD_ELEMENT_STYLE_VARIANT_SELECTORS[number];
|
|
136
|
-
export type CardElementStyleVariantStyle = SafeStyle & Partial<Record<CardElementStyleVariantSelector, SafeStyle>>;
|
|
137
|
-
export const CARD_ELEMENT_STYLE_VARIANTS: readonly ["base", "complete", "invalid", "empty"];
|
|
138
|
-
export const CARD_ELEMENT_STYLE_FONTS_ATTR: "fonts";
|
|
139
|
-
export type CardElementStyleVariant = typeof CARD_ELEMENT_STYLE_VARIANTS[number];
|
|
140
|
-
type CardElementStyleFontAttr = typeof CARD_ELEMENT_STYLE_FONTS_ATTR;
|
|
141
|
-
type FontSource = string;
|
|
142
|
-
export type FontSources = FontSource[];
|
|
143
|
-
export type Fonts = Record<CardElementStyleFontAttr, FontSources>;
|
|
144
|
-
export type CardElementStyle = Partial<Record<CardElementStyleVariant, CardElementStyleVariantStyle> & Fonts>;
|
|
145
|
-
export type ElementStyle = CardElementStyle;
|
|
146
|
-
export type CopyIconStyles = {
|
|
147
|
-
size?: string;
|
|
148
|
-
color?: string;
|
|
149
|
-
successColor?: string;
|
|
150
|
-
};
|
|
151
|
-
export const ELEMENTS_TYPES: readonly ["card", "cardExpirationDate", "cardNumber", "cardVerificationCode", "data", "text"];
|
|
152
|
-
export type ElementType = typeof ELEMENTS_TYPES[number];
|
|
153
|
-
export interface ElementInternalOptions {
|
|
154
|
-
apiKey: string | undefined;
|
|
155
|
-
baseUrl: string;
|
|
156
|
-
type: ElementType;
|
|
157
|
-
useNgApi: boolean | undefined;
|
|
158
|
-
useSameOriginApi: boolean | undefined;
|
|
159
|
-
}
|
|
160
|
-
export enum InputMode {
|
|
161
|
-
DECIMAL = "decimal",
|
|
162
|
-
EMAIL = "email",
|
|
163
|
-
NONE = "none",
|
|
164
|
-
NUMERIC = "numeric",
|
|
165
|
-
SEARCH = "search",
|
|
166
|
-
TEL = "tel",
|
|
167
|
-
TEXT = "text",
|
|
168
|
-
URL = "url"
|
|
169
|
-
}
|
|
170
|
-
export interface SanitizedElementOptions {
|
|
171
|
-
ariaDescription?: string;
|
|
172
|
-
ariaLabel?: string;
|
|
173
|
-
autoComplete?: AutoCompleteValue;
|
|
174
|
-
cardBrand?: string;
|
|
175
|
-
cardTypes?: CreditCardType[];
|
|
176
|
-
copyIconStyles?: CopyIconStyles;
|
|
177
|
-
disabled?: boolean;
|
|
178
|
-
enableCopy?: boolean;
|
|
179
|
-
iconPosition?: string;
|
|
180
|
-
inputMode?: `${InputMode}`;
|
|
181
|
-
mask?: (RegExp | string)[];
|
|
182
|
-
maxLength?: HTMLInputElement['maxLength'];
|
|
183
|
-
password?: boolean;
|
|
184
|
-
placeholder?: string;
|
|
185
|
-
readOnly?: boolean;
|
|
186
|
-
skipLuhnValidation?: boolean;
|
|
187
|
-
style?: ElementStyle;
|
|
188
|
-
targetId?: string;
|
|
189
|
-
transform?: [RegExp, string] | null;
|
|
190
|
-
validateOnChange?: boolean;
|
|
191
|
-
validation?: RegExp;
|
|
192
|
-
value?: CardElementValue<'static'> | CardExpirationDateValue<'static'> | string;
|
|
193
|
-
}
|
|
194
|
-
export type ElementOptions = ElementInternalOptions & SanitizedElementOptions;
|
|
195
|
-
export type Transform = RegExp | [RegExp, string?] | null;
|
|
196
|
-
interface TransformOption {
|
|
197
|
-
transform?: Transform;
|
|
198
|
-
}
|
|
199
|
-
interface AutoCompleteOption {
|
|
200
|
-
autoComplete?: AutoCompleteValue;
|
|
201
|
-
}
|
|
202
|
-
export type CustomizableElementOptions = Pick<ElementOptions, 'cardTypes' | 'copyIconStyles' | 'disabled' | 'enableCopy' | 'inputMode' | 'readOnly' | 'skipLuhnValidation' | 'style' | 'validateOnChange'> & AutoCompleteOption;
|
|
203
|
-
type ElementValueType = 'static' | 'reference';
|
|
204
|
-
export interface CardElementValue<T extends ElementValueType> {
|
|
205
|
-
cvc?: T extends 'reference' ? DataElementReference : string;
|
|
206
|
-
expiration_month?: T extends 'reference' ? DataElementReference : number;
|
|
207
|
-
expiration_year?: T extends 'reference' ? DataElementReference : number;
|
|
208
|
-
number?: T extends 'reference' ? DataElementReference : string;
|
|
209
|
-
}
|
|
210
|
-
export interface CardElementPlaceholder {
|
|
211
|
-
cardNumber?: string;
|
|
212
|
-
cardExpirationDate?: string;
|
|
213
|
-
cardSecurityCode?: string;
|
|
214
|
-
}
|
|
215
|
-
export interface CardExpirationDateValue<T extends ElementValueType> {
|
|
216
|
-
month: T extends 'reference' ? DataElementReference : number;
|
|
217
|
-
year: T extends 'reference' ? DataElementReference : number;
|
|
218
|
-
}
|
|
219
|
-
export type CreateCardElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'cardTypes' | 'skipLuhnValidation'> & {
|
|
220
|
-
placeholder?: CardElementPlaceholder;
|
|
221
|
-
value?: CardElementValue<'static'>;
|
|
222
|
-
};
|
|
223
|
-
export type UpdateCardElementOptions = Omit<CreateCardElementOptions, 'validateOnChange' | 'enableCopy'>;
|
|
224
|
-
export type CreateTextElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'mask' | 'maxLength' | 'password' | 'validation'> & TransformOption & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
225
|
-
'aria-label'?: string;
|
|
226
|
-
value?: string;
|
|
227
|
-
};
|
|
228
|
-
export type UpdateTextElementOptions = Omit<CreateTextElementOptions, 'targetId' | 'mask' | 'validateOnChange'>;
|
|
229
|
-
export type CreateCardNumberElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'iconPosition' | 'cardTypes' | 'skipLuhnValidation'> & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
230
|
-
'aria-label'?: string;
|
|
231
|
-
value?: string;
|
|
232
|
-
};
|
|
233
|
-
export type UpdateCardNumberElementOptions = Omit<CreateCardNumberElementOptions, 'targetId' | 'validateOnChange' | 'enableCopy'>;
|
|
234
|
-
export type CreateCardExpirationDateElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder'> & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
235
|
-
'aria-label'?: string;
|
|
236
|
-
value?: CardExpirationDateValue<'static'> | string;
|
|
237
|
-
};
|
|
238
|
-
export type UpdateCardExpirationDateElementOptions = Omit<CreateCardExpirationDateElementOptions, 'targetId' | 'validateOnChange' | 'enableCopy'>;
|
|
239
|
-
export type CreateCardVerificationCodeElementOptions = CustomizableElementOptions & Pick<ElementOptions, 'placeholder' | 'cardBrand'> & Required<Pick<ElementOptions, 'targetId'>> & {
|
|
240
|
-
'aria-label'?: string;
|
|
241
|
-
value?: string;
|
|
242
|
-
};
|
|
243
|
-
export type UpdateCardVerificationCodeElementOptions = Omit<CreateCardVerificationCodeElementOptions, 'targetId' | 'validateOnChange' | 'enableCopy'>;
|
|
244
|
-
interface BinDetails {
|
|
245
|
-
cardBrand?: string;
|
|
246
|
-
type?: string;
|
|
247
|
-
prepaid?: boolean;
|
|
248
|
-
cardSegmentType?: string;
|
|
249
|
-
reloadable?: boolean;
|
|
250
|
-
panOrToken?: string;
|
|
251
|
-
accountUpdater?: boolean;
|
|
252
|
-
alm?: boolean;
|
|
253
|
-
domesticOnly?: boolean;
|
|
254
|
-
gamblingBlocked?: boolean;
|
|
255
|
-
level2?: boolean;
|
|
256
|
-
level3?: boolean;
|
|
257
|
-
issuerCurrency?: string;
|
|
258
|
-
comboCard?: string;
|
|
259
|
-
binLength?: number;
|
|
260
|
-
authentication?: unknown;
|
|
261
|
-
cost?: unknown;
|
|
262
|
-
bank?: BinDetailsBank;
|
|
263
|
-
country?: BinDetailsCountry;
|
|
264
|
-
product?: BinDetailsProduct;
|
|
265
|
-
}
|
|
266
|
-
interface BinDetailsBank {
|
|
267
|
-
name?: string;
|
|
268
|
-
phone?: string;
|
|
269
|
-
url?: string;
|
|
270
|
-
cleanName?: string;
|
|
271
|
-
}
|
|
272
|
-
interface BinDetailsCountry {
|
|
273
|
-
alpha2?: string;
|
|
274
|
-
name?: string;
|
|
275
|
-
numeric?: string;
|
|
276
|
-
}
|
|
277
|
-
interface BinDetailsProduct {
|
|
278
|
-
code?: string;
|
|
279
|
-
name?: string;
|
|
280
|
-
}
|
|
281
|
-
type Primitive = string | number | boolean | null;
|
|
282
|
-
type TokenType = 'token' | 'card' | 'bank' | 'card_number' | 'us_bank_routing_number' | 'us_bank_account_number' | 'social_security_number';
|
|
283
|
-
interface Auditable {
|
|
284
|
-
createdBy?: string;
|
|
285
|
-
createdAt?: string;
|
|
286
|
-
modifiedBy?: string;
|
|
287
|
-
modifiedAt?: string;
|
|
288
|
-
}
|
|
289
|
-
type DataObject<DataType = Primitive> = {
|
|
290
|
-
[member: string]: TokenData<DataType>;
|
|
291
|
-
};
|
|
292
|
-
type DataArray<DataType> = Array<TokenData<DataType>>;
|
|
293
|
-
type TokenData<DataType = Primitive> = Primitive | DataObject<DataType> | DataArray<DataType> | DataType;
|
|
294
|
-
interface TokenBase<DataType = Primitive> extends Auditable {
|
|
295
|
-
data: TokenData<DataType>;
|
|
296
|
-
type: TokenType;
|
|
297
|
-
}
|
|
298
|
-
declare const DATA_CLASSIFICATIONS: readonly ["general", "bank", "pci", "pii"];
|
|
299
|
-
type DataClassification = typeof DATA_CLASSIFICATIONS[number];
|
|
300
|
-
declare const DATA_IMPACT_LEVELS: readonly ["low", "moderate", "high"];
|
|
301
|
-
type DataImpactLevel = typeof DATA_IMPACT_LEVELS[number];
|
|
302
|
-
declare const DATA_RESTRICTION_POLICIES: readonly ["mask", "redact"];
|
|
303
|
-
type DataRestrictionPolicy = typeof DATA_RESTRICTION_POLICIES[number];
|
|
304
|
-
type MaskObject = {
|
|
305
|
-
[member: string]: TokenMask;
|
|
306
|
-
};
|
|
307
|
-
type MaskArray = Array<TokenMask>;
|
|
308
|
-
type TokenMask = string | null | MaskObject | MaskArray;
|
|
309
|
-
interface TokenEncryptionKey {
|
|
310
|
-
key: string;
|
|
311
|
-
alg: string;
|
|
312
|
-
}
|
|
313
|
-
interface TokenEncryption {
|
|
314
|
-
cek: TokenEncryptionKey;
|
|
315
|
-
kek: TokenEncryptionKey;
|
|
316
|
-
}
|
|
317
|
-
interface TokenPrivacy {
|
|
318
|
-
classification?: DataClassification;
|
|
319
|
-
impactLevel?: DataImpactLevel;
|
|
320
|
-
restrictionPolicy?: DataRestrictionPolicy;
|
|
321
|
-
}
|
|
322
|
-
interface TokenEnrichments {
|
|
323
|
-
binDetails?: BinDetails;
|
|
324
|
-
}
|
|
325
|
-
type Token<DataType = Primitive> = TokenBase<DataType> & {
|
|
326
|
-
id: string;
|
|
327
|
-
privacy?: TokenPrivacy;
|
|
328
|
-
containers?: string[];
|
|
329
|
-
encryption?: TokenEncryption;
|
|
330
|
-
searchIndexes?: string[];
|
|
331
|
-
fingerprintExpression?: string;
|
|
332
|
-
mask?: TokenMask;
|
|
333
|
-
expiresAt?: string;
|
|
334
|
-
enrichments?: TokenEnrichments;
|
|
335
|
-
tenantId: string;
|
|
336
|
-
fingerprint?: string;
|
|
337
|
-
metadata?: Record<string, string>;
|
|
338
|
-
};
|
|
339
|
-
type _CreateToken1<DataType = Primitive> = Pick<Token<DataType>, 'type' | 'data' | 'privacy' | 'containers' | 'metadata' | 'encryption' | 'searchIndexes' | 'fingerprintExpression' | 'mask' | 'expiresAt'> & {
|
|
340
|
-
deduplicateToken?: boolean;
|
|
341
|
-
id?: string;
|
|
342
|
-
};
|
|
343
|
-
type _UpdateToken1<DataType = Primitive> = Partial<Pick<Token<DataType>, 'data' | 'containers' | 'metadata' | 'encryption' | 'searchIndexes' | 'fingerprintExpression' | 'mask' | 'expiresAt'> & {
|
|
344
|
-
privacy: Omit<TokenPrivacy, 'classification'>;
|
|
345
|
-
deduplicateToken: boolean;
|
|
346
|
-
}>;
|
|
347
|
-
type TokenizeObject<DataType = Primitive> = {
|
|
348
|
-
[key: string]: Primitive | TokenizeObject<DataType> | TokenizeArray<DataType> | DataType;
|
|
349
|
-
};
|
|
350
|
-
type TokenizeArray<DataType = Primitive> = Array<Primitive | TokenizeObject<DataType> | TokenizeArray<DataType> | DataType>;
|
|
351
|
-
type _TokenizeData1<DataType = Primitive> = TokenizeArray<DataType> | TokenizeObject<DataType>;
|
|
352
|
-
interface IssuerCountry {
|
|
353
|
-
alpha2: string;
|
|
354
|
-
name: string;
|
|
355
|
-
numeric: string;
|
|
356
|
-
}
|
|
357
|
-
interface TokenIntentCardDetails {
|
|
358
|
-
type: 'card';
|
|
359
|
-
card: {
|
|
360
|
-
bin: string;
|
|
361
|
-
last4: string;
|
|
362
|
-
brand: string;
|
|
363
|
-
funding: string;
|
|
364
|
-
expirationMonth: number;
|
|
365
|
-
expirationYear: number;
|
|
366
|
-
issuerCountry?: IssuerCountry;
|
|
367
|
-
};
|
|
368
|
-
}
|
|
369
|
-
type TokenTypesForTokenIntents = Exclude<TokenType, 'token' | 'card'>;
|
|
370
|
-
type TokenTypeMap = {
|
|
371
|
-
[K in TokenTypesForTokenIntents]: {
|
|
372
|
-
type: K;
|
|
373
|
-
} & Record<K, Record<string, unknown>>;
|
|
374
|
-
};
|
|
375
|
-
type TokenIntent<DataType = DataObject> = (TokenBase<DataType> & Omit<Auditable, 'modifiedAt' | 'modifiedBy'> & {
|
|
376
|
-
id: string;
|
|
377
|
-
tenantId: string;
|
|
378
|
-
expiresAt: string;
|
|
379
|
-
fingerprint?: string;
|
|
380
|
-
}) & (TokenTypeMap[TokenTypesForTokenIntents] | TokenIntentCardDetails | {
|
|
381
|
-
type: 'token';
|
|
382
|
-
});
|
|
383
|
-
type _CreateTokenIntent1<DataType = DataObject> = Pick<TokenIntent<DataType>, 'type' | 'data'>;
|
|
384
|
-
interface RequestOptions {
|
|
385
|
-
apiKey?: string;
|
|
386
|
-
correlationId?: string;
|
|
387
|
-
idempotencyKey?: string;
|
|
388
|
-
}
|
|
389
|
-
type Create<T, C> = {
|
|
390
|
-
create(model: C, options?: RequestOptions): Promise<T>;
|
|
391
|
-
};
|
|
392
|
-
type Retrieve<T> = {
|
|
393
|
-
retrieve(id: string, options?: RequestOptions): Promise<T>;
|
|
394
|
-
};
|
|
395
|
-
type Update<T, U> = {
|
|
396
|
-
update(id: string, model: U, options?: RequestOptions): Promise<T>;
|
|
397
|
-
};
|
|
398
|
-
export type TokenizeData = _TokenizeData1<ElementValue>;
|
|
399
|
-
export interface Tokenize {
|
|
400
|
-
tokenize(tokens: TokenizeData, options?: RequestOptions): Promise<_TokenizeData1>;
|
|
401
|
-
}
|
|
402
|
-
export type CreateToken = _CreateToken1<ElementValue>;
|
|
403
|
-
export type UpdateToken = _UpdateToken1<ElementValue>;
|
|
404
|
-
export type Tokens = Create<Token, CreateToken> & Retrieve<Token<unknown>> & Update<Token, UpdateToken>;
|
|
405
|
-
type BasisTheoryProxyHeaders = {
|
|
406
|
-
[key: string]: string;
|
|
407
|
-
'BT-PROXY-URL': string;
|
|
408
|
-
'BT-PROXY-KEY': string;
|
|
409
|
-
};
|
|
410
|
-
type ProxyHeaders = Partial<BasisTheoryProxyHeaders>;
|
|
411
|
-
type BasisTheoryQueryParams = {
|
|
412
|
-
[key: string]: string;
|
|
413
|
-
'bt-proxy-key': string;
|
|
414
|
-
};
|
|
415
|
-
type ProxyQuery = Partial<BasisTheoryQueryParams>;
|
|
416
|
-
export interface ProxyRequestOptions extends RequestOptions {
|
|
417
|
-
includeResponseHeaders?: boolean;
|
|
418
|
-
path?: string;
|
|
419
|
-
query?: ProxyQuery;
|
|
420
|
-
headers?: ProxyHeaders;
|
|
421
|
-
body?: unknown;
|
|
422
|
-
}
|
|
423
|
-
export interface Proxy {
|
|
424
|
-
get(options?: ProxyRequestOptions): Promise<unknown>;
|
|
425
|
-
post(options?: ProxyRequestOptions): Promise<unknown>;
|
|
426
|
-
patch(options?: ProxyRequestOptions): Promise<unknown>;
|
|
427
|
-
put(options?: ProxyRequestOptions): Promise<unknown>;
|
|
428
|
-
delete(options?: ProxyRequestOptions): Promise<unknown>;
|
|
429
|
-
}
|
|
430
|
-
export type CreateTokenIntent = _CreateTokenIntent1<ElementValue>;
|
|
431
|
-
export type TokenIntents = Create<TokenIntent, CreateTokenIntent>;
|
|
432
|
-
type CreateSessionResponse = {
|
|
433
|
-
sessionKey: string;
|
|
434
|
-
nonce: string;
|
|
435
|
-
expiresAt: string;
|
|
436
|
-
_debug?: Record<string, unknown>;
|
|
437
|
-
};
|
|
438
|
-
interface Sessions {
|
|
439
|
-
create(options?: RequestOptions): Promise<CreateSessionResponse>;
|
|
440
|
-
}
|
|
441
|
-
export interface BaseElement<UpdateOptions, ElementEvents> {
|
|
442
|
-
readonly mounted: boolean;
|
|
443
|
-
readonly metadata: ElementMetadata;
|
|
444
|
-
mount(selector: string): Promise<void>;
|
|
445
|
-
mount(element: Element): Promise<void>;
|
|
446
|
-
update(options: UpdateOptions): Promise<void>;
|
|
447
|
-
clear(): void;
|
|
448
|
-
focus(): void;
|
|
449
|
-
blur(): void;
|
|
450
|
-
unmount(): void;
|
|
451
|
-
on<T extends EventType>(eventType: T, listener: ElementEventListener<ElementEvents, T>): Subscription;
|
|
452
|
-
}
|
|
453
|
-
export type CardElement = BaseElement<UpdateCardElementOptions, CardElementEvents> & {
|
|
454
|
-
readonly cardMetadata?: CardMetadata;
|
|
455
|
-
setValue(value: CardElementValue<'reference'>): void;
|
|
456
|
-
validate(): void;
|
|
457
|
-
};
|
|
458
|
-
export type TextElement = BaseElement<UpdateTextElementOptions, TextElementEvents> & {
|
|
459
|
-
setValueRef(value: TextElement): void;
|
|
460
|
-
setValue(value: DataElementReference): void;
|
|
461
|
-
};
|
|
462
|
-
export type CardNumberElement = BaseElement<UpdateCardNumberElementOptions, CardNumberElementEvents> & {
|
|
463
|
-
readonly cardMetadata?: CardMetadata;
|
|
464
|
-
setValueRef(value: CardNumberElement): void;
|
|
465
|
-
setValue(value: DataElementReference): void;
|
|
466
|
-
};
|
|
467
|
-
export type CardExpirationDateElement = BaseElement<UpdateCardExpirationDateElementOptions, CardExpirationDateElementEvents> & {
|
|
468
|
-
setValueRef(value: CardExpirationDateElement): void;
|
|
469
|
-
setValue(value: CardExpirationDateValue<'reference'>): void;
|
|
470
|
-
month(): ElementWrapper<CardExpirationDateElement>;
|
|
471
|
-
year(): ElementWrapper<CardExpirationDateElement>;
|
|
472
|
-
format(dateFormat: string): ElementWrapper<CardExpirationDateElement>;
|
|
473
|
-
};
|
|
474
|
-
export type CardVerificationCodeElement = BaseElement<UpdateCardVerificationCodeElementOptions, CardVerificationCodeElementEvents> & {
|
|
475
|
-
setValueRef(value: CardVerificationCodeElement): void;
|
|
476
|
-
setValue(value: DataElementReference): void;
|
|
477
|
-
};
|
|
478
|
-
export type ElementWrapper<T extends BaseElement<any, any> = BaseElement<any, any>> = {
|
|
479
|
-
element: T;
|
|
480
|
-
method?: string;
|
|
481
|
-
formattingOptions?: {
|
|
482
|
-
format: string;
|
|
483
|
-
};
|
|
484
|
-
};
|
|
485
|
-
export type ElementValue = TextElement | CardElement | CardNumberElement | CardExpirationDateElement | CardVerificationCodeElement | ElementWrapper;
|
|
486
|
-
export interface BasisTheoryElements {
|
|
487
|
-
tokens: Tokens;
|
|
488
|
-
proxy: Proxy;
|
|
489
|
-
sessions: Sessions;
|
|
490
|
-
tokenIntents: TokenIntents;
|
|
491
|
-
tokenize: Tokenize;
|
|
492
|
-
client: HttpClient;
|
|
493
|
-
createElement(type: 'card', options?: CreateCardElementOptions): CardElement;
|
|
494
|
-
createElement(type: 'text', options: CreateTextElementOptions): TextElement;
|
|
495
|
-
createElement(type: 'cardNumber', options: CreateCardNumberElementOptions): CardNumberElement;
|
|
496
|
-
createElement(type: 'cardExpirationDate', options: CreateCardExpirationDateElementOptions): CardExpirationDateElement;
|
|
497
|
-
createElement(type: 'cardVerificationCode', options: CreateCardVerificationCodeElementOptions): CardVerificationCodeElement;
|
|
498
|
-
}
|
|
499
|
-
export interface BasisTheoryElementsInternal extends BasisTheoryElements {
|
|
500
|
-
init: (apiKey: string | undefined, elementsBaseUrl: string, elementsUseNgApi: boolean | undefined, elementsUseSameOriginApi: boolean | undefined, disableTelemetry: boolean | undefined, debug: boolean | undefined) => Promise<BasisTheoryElements>;
|
|
501
|
-
hasElement: (payload: unknown) => boolean;
|
|
502
|
-
}
|
|
503
|
-
declare global {
|
|
504
|
-
interface Window {
|
|
505
|
-
BasisTheoryElements?: BasisTheoryElementsInternal;
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
export interface BasisTheoryInitOptions {
|
|
509
|
-
_devMode?: boolean;
|
|
510
|
-
disableTelemetry?: boolean;
|
|
511
|
-
useSameOriginApi?: boolean;
|
|
512
|
-
debug?: boolean;
|
|
513
|
-
}
|
|
514
|
-
export const basistheory: (apiKey: string, options?: BasisTheoryInitOptions | undefined) => Promise<BasisTheoryElements | undefined>;
|
|
1
|
+
import { basistheory } from './BasisTheory';
|
|
515
2
|
declare global {
|
|
516
3
|
interface Window {
|
|
517
4
|
basistheory?: typeof basistheory;
|
|
518
5
|
}
|
|
519
6
|
}
|
|
7
|
+
export * from './BasisTheory';
|
|
8
|
+
export * from './types';
|
|
@@ -54,7 +54,7 @@ interface BasisTheoryElements {
|
|
|
54
54
|
proxy: Proxy;
|
|
55
55
|
sessions: Sessions;
|
|
56
56
|
tokenIntents: TokenIntents;
|
|
57
|
-
tokenize: Tokenize;
|
|
57
|
+
tokenize: Tokenize['tokenize'];
|
|
58
58
|
client: HttpClient;
|
|
59
59
|
createElement(type: 'card', options?: CreateCardElementOptions): CardElement;
|
|
60
60
|
createElement(type: 'text', options: CreateTextElementOptions): TextElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const version: "1.11.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basis-theory/web-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"repository": "https://github.com/basis-theory/web-elements",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"prebuild": "TARGET_DIR=../../web-elements/src node ../scripts/web-elements/write-version-file.js",
|
|
19
|
-
"build:dev": "yarn clean &&
|
|
20
|
-
"build": "node ../scripts/web-elements/prepare.js &&
|
|
19
|
+
"build:dev": "yarn clean && parcel build && yarn generateTypes && npx size-limit && yarn generate-sri",
|
|
20
|
+
"build": "node ../scripts/web-elements/prepare.js && parcel build --no-cache && yarn generateTypes && yarn generate-sri",
|
|
21
21
|
"clean": "rimraf dist .parcel-cache",
|
|
22
22
|
"generateTypes": "tsc --emitDeclarationOnly",
|
|
23
23
|
"generate-sri": "node ../scripts/web-elements/generate-sri.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './elements';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const version: "1.10.0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.es2024.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2024.collection.d.ts","../../node_modules/typescript/lib/lib.es2024.object.d.ts","../../node_modules/typescript/lib/lib.es2024.promise.d.ts","../../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2024.string.d.ts","../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/tslib/tslib.d.ts","../../src/elements/getOrCreateScriptElement.ts","../../src/types/elements/cardTypes.ts","../../src/types/sdk/services/http.ts","../../src/types/sdk/services/index.ts","../../src/types/sdk/index.ts","../../src/elements/constants.ts","../../src/types/elements/shared.ts","../../src/types/elements/events.ts","../../../node_modules/csstype/index.d.ts","../../src/types/elements/styles.ts","../../src/types/elements/options.ts","../../src/types/models/bin-details.ts","../../src/types/models/shared.ts","../../src/types/models/tokens.ts","../../src/types/models/tokenize.ts","../../src/types/models/cards.ts","../../src/types/models/util.ts","../../src/types/models/token-intents.ts","../../src/types/models/index.ts","../../src/types/elements/services/shared.ts","../../src/types/elements/services/tokenize.ts","../../src/types/elements/services/tokens.ts","../../src/types/elements/services/proxy.ts","../../src/types/elements/services/token-intents.ts","../../src/types/elements/services/index.ts","../../src/types/elements/services/sessions.ts","../../src/types/elements/elements.ts","../../src/types/elements/index.ts","../../src/common/logging.ts","../../src/elements/loadElements.ts","../../src/elements/index.ts","../../src/version.js","../../src/BasisTheory.ts","../../src/types/index.ts","../../src/index.ts","../../src/common/BasisTheoryApiError.ts","../../src/common/BasisTheoryValidationError.ts","../../src/common/HttpClientError.ts","../../src/common/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts"],"fileIdsList":[[161,170],[161],[161,172,174],[118,161],[121,161],[122,127,161],[123,133,134,141,150,160,161],[123,124,133,141,161],[125,161],[126,127,134,142,161],[127,150,157,161],[128,130,133,141,161],[129,161],[130,131,161],[132,133,161],[133,161],[133,134,135,150,160,161],[133,134,135,150,161],[161,165],[136,141,150,160,161],[133,134,136,137,141,150,157,160,161],[136,138,150,157,160,161],[118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167],[133,139,161],[140,160,161],[130,133,141,150,161],[142,161],[143,161],[121,144,161],[145,159,161,165],[146,161],[147,161],[133,148,161],[148,149,161,163],[133,150,151,152,161],[150,152,161],[150,151,161],[153,161],[154,161],[133,155,156,161],[155,156,161],[127,141,150,157,161],[158,161],[141,159,161],[122,136,147,160,161],[127,161],[150,161,162],[161,163],[161,164],[122,127,133,135,144,150,160,161,163,165],[150,161,166],[161,172],[161,169,173],[161,171],[78,106,109,110,161],[78,161],[78,106,161],[78,114,115,116,161],[78,79,108,161],[78,79,84,106,107,161],[78,111,112,161],[78,83,85,86,89,103,104,161],[78,85,161],[78,80,85,86,88,89,103,105,161],[78,80,85,88,161],[78,99,100,101,102,161],[78,98,161],[78,97,98,106,161],[78,84,161],[78,87,161],[78,90,91,92,93,94,95,96,161],[78,97,161],[78,91,161],[78,90,91,161],[78,82,161],[78,81,161]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"e12a46ce14b817d4c9e6b2b478956452330bf00c9801b79de46f7a1815b5bd40","impliedFormat":1},{"version":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"bab26767638ab3557de12c900f0b91f710c7dc40ee9793d5a27d32c04f0bf646","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e","impliedFormat":1},{"version":"b2b6725d919222f8410c72deeed1e51dca17a0b096151c1251dfb906a157536a","signature":"48dcd5df0dc5e1e6fb7f8c120a2758c4156dbb95fc08b06f77d51ec9f06024cd"},{"version":"96d6888df37b188c1b77fbf4c63d7d47e7aa0affe10e880048061bc164bbf125","signature":"3c14d960991f805c121537f4f6afca7c18dd6f4ea9a29b673ce352c57f652328"},{"version":"e41310bdf80beed942fb6110daffb1376ae74985e2b737f58086db5506f1397c","signature":"519d8903c0998544a60797bd20a97686a2fc9e6464dc4651f9acd3a603975c8d"},"91ac783f589ee0929d58b22acf655ee6581b208f70540c8ae95cabaa81c65823","97aaa416b4e0596cd9c90dfed79689de2007025ab12c3fd4b2dca655a1b28f39",{"version":"62cfe7c38e81ac0298bcdf13bc62a9f42ac76fb11571219cd33e2634da163f74","signature":"04a4260c9db0b647c1b84f593a945a91460a3530312eba38d31e8f42fefcd278"},{"version":"bdf0fea3914b33e3159346e8b4fd21110011dbd74d375f395fae5fcf59c41cb9","signature":"57e9246fa986dae1327eb8aac4ee4f468040f91864bcd17056862b43dd21ec09"},{"version":"4746128ee4d5e6680992bbd1bf06b8558cd7218726bb140ffa0801b6f60b2897","signature":"4bce03f623a7189f60e98b49a9f5e4aaed27ccb8b0d497ec017681447d93da63"},{"version":"1c29793071152b207c01ea1954e343be9a44d85234447b2b236acae9e709a383","impliedFormat":1},{"version":"5c785e8748c1d462d871f1b7450eab6bc9fab7d65596b2ffa7b0f8610d1199a2","signature":"92346fcd21ae2b9583719ea2cfc4c047263ee9475136aa347e66d823ccf1dd46"},{"version":"bb455c75add6394add310f25467e668182f8185f9ba7380eb73c5d3651337df7","signature":"a68bbf6b2c32f270e07d6c84403ca18cfb227516ff7b68cb798375d6ca7cf56f"},{"version":"29b0f846e7852d196a789ce27730740b07850c542168fcc6afdcd2f4d5616286","signature":"4da06fcc259551bd4058de9542feadfe4b243de120ca6cbad0c38408ca9e30bf"},{"version":"1f5bda151c4539206098525f60bed26f8bf246539953413654ddbea08e2bd14a","signature":"3bf6e22e7e2f5174e709e7655da42c0e58a9d49ab45d4c11434fed9a45f8372d"},{"version":"1e25e3180ed2885464e7a2290addd11ad71f320f9c21058847c3c932915f62d4","signature":"491cb63a3f226bd2b60a00c15241ebc265cb756c88cdf333eb7447301d25e2a5"},{"version":"74b38b0f151668ce29696fc90a6ae9f5593e9184495e7a3139bbd1522e9e7f45","signature":"55376d9a4c81e85c4f6f4162e723728531025afac4408fe46b1bb6d499454511"},{"version":"5ed94cb324dcb791277d7bf6e1e771089030bd645ea3e0569773fb228badf0ae","signature":"ed6917470b0c9d3717eb22d08f9c62b6885d2bc949bbdaabb8423e0ac49ba4f3"},{"version":"ecf08f38002449ca3e9498b5a5064f4eb3683042a411a13b91471406f07a765e","signature":"491c1363c13b27a2b993d0d2f85870bdfe2bde84c6e2b6370d043751a02ab11c"},{"version":"61c344b2f2000bfb8d5b232ec0be9298535aacef886228fd3727484636fa5aef","signature":"fc93b798e31cb42166b61df0bdaaf01c27c37a1984e2b4e7f988a3322cc150d0"},"5203c8c8d90c87066bffc31a1eeb631d401aaf064648ffc7a218f8e275f37d43",{"version":"7efe00c4f4959df1ce166da2bb38116ffad497a960fcf0847f2d864a870669f9","signature":"39abe231b062c5dfe5df977b163d64b0c68adfefc5b8cd703d212a08556394c0"},{"version":"7e9ed3e33535ac59d9b2e2cda00024ba1f14b2cda834b494aa035d857f37d231","signature":"92d4b4c41e790aae5d882c16446da7bb46059cf5c46da13bba9cf773cbe0973d"},{"version":"d555816dde58e288c0e2c763cded20fd35b8d7a3efe18ea66ba368260b751521","signature":"c13ad973dece22a7679f014e4e59d50111c0d150f0d3fdde46059c6a2e4a3dd1"},{"version":"04d8c4ef183e7a605cd375fe48b5905e8ab7987627234289910c3119db411cfc","signature":"63bb1084b1312a23894bfa2e36ba436509cbfe550095d64bb40c6a470f16faeb"},{"version":"d58393609d3b92a34caaa7931f4dc2eeff5e6301a169ae7c24ee36e78c9b795b","signature":"1d3aacd6dd0324701db402904e77ca343ba4b121bb11face17635fec01be4c1f"},"6431b30892a462cf7f2da580d474a112614e768767c9b0331b6cb74a57a5e477",{"version":"dc063d0a960966eaac0b56776add7ef000c53e27d9089db1c9197b4a40b1fd27","signature":"1afbcc1059503672b36c17731deea713a3cdf8f90be0e1782d5ac769fa7518a7"},{"version":"25272b437b69b60be02662388367a93907d736bb393c15f3072bfa54b6c42403","signature":"969d9022fb1d971ce040d656a2dc4b023e53223165a737b2a1c54b0e5288f417","affectsGlobalScope":true},"763f5ae11028095112f694077e4efd7f0284ed86df17ea529d7e32e4f7bcbbec",{"version":"6b96c42214dde951d3482d39dfa066036dbee8ebb8b3887c3912266e1ad65ad1","signature":"dcb4e522465b901d4c769d90268bb12bf6c00fc37c31fe2001b61a124d31654a"},{"version":"84d9321c69b25dd66ec1f635ff2543ebed7d06905fb6330ff62f5acd489ef113","signature":"7a89a8333db4af69cc080c997f9be69de23007b6be442606e78d4158674a178d"},"10f6a135a2f754a20df325707192124325522e4f8cb0b183e3ea710cf2305275",{"version":"5f9356d1f4f65a6c8787dfa03f011aea9f67e73d2201d307a2febb321c738ef3","signature":"b545f63055ffc8e96a0be059bd2b242b906bc4cca680eacf1224ad3f3648ca5a"},{"version":"605297f72a4de4da2c5cbe2c6726e53c7d6253c1a9822a52b0aa64b5054bdea1","signature":"ffef15fecd76c81464237f015a783768f3436e4f318b4e9f4bfbfea05cacbf7e"},"d8684b99317ba3bf2b7df172ec8257711901cd3c815a77c838b5fbebbd9fe2ed",{"version":"e2d40498536f2d7d7d7ac0232f1792ff23f2e491131e354220faa6cd324f7a02","signature":"a3417572af29e21cafb466a66452b16d509a9aa02f66503b5a0d7b8b4dbed602","affectsGlobalScope":true},{"version":"033b83f51039f7e3a81092173f1a73195319c4d490648ea3d4a07f310bbfad7e","signature":"6c9e7632549097b8e8540d62827370e1a129c84ef57458c07d26eb9ef8f2e502"},{"version":"f0997c7f14bc8a6da46d2914cff9d552a7acbacf64e54da5793a3975877ea82e","signature":"2d1a4a714316eaefeb646815edb611397b61a6c489a0df0508af74d2a8ca70e3"},{"version":"bfbf4fa36688466869673b6dccaecf994bce2219d969a2fb688f650ea6e016a9","signature":"acba826a87a77028967bc61c97bdf542e690b7798bcad6b34317c7d71f71a7eb"},"f22bfe46aa083bcb1fc08e9e191c3d9fa55b2d00470a891f69421ce925fe97da",{"version":"0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5979905796fe2740d85fbaf4f11f42b7ee1851421afe750823220813421b1af","impliedFormat":1},{"version":"fcdcb42da18dd98dc286b1876dd425791772036012ae61263c011a76b13a190f","affectsGlobalScope":true,"impliedFormat":1},{"version":"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","impliedFormat":1},{"version":"f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894","impliedFormat":1},{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"5b30f550565fd0a7524282c81c27fe8534099e2cd26170ca80852308f07ae68d","impliedFormat":1},{"version":"34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","impliedFormat":1},{"version":"d97cd8a4a42f557fc62271369ed0461c8e50d47b7f9c8ad0b5462f53306f6060","impliedFormat":1},{"version":"f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","impliedFormat":1},{"version":"c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","impliedFormat":1},{"version":"f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79","impliedFormat":1},{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","impliedFormat":1},{"version":"ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","impliedFormat":1},{"version":"10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","impliedFormat":1},{"version":"063f53ff674228c190efa19dd9448bcbd540acdbb48a928f4cf3a1b9f9478e43","impliedFormat":1},{"version":"bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","impliedFormat":1},{"version":"7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"287b21dc1d1b9701c92e15e7dd673dfe6044b15812956377adffb6f08825b1bc","impliedFormat":1},{"version":"12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","impliedFormat":1},{"version":"08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","impliedFormat":1},{"version":"08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304","impliedFormat":1},{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","impliedFormat":1},{"version":"002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","impliedFormat":1},{"version":"1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","impliedFormat":1},{"version":"a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","impliedFormat":1},{"version":"00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true,"impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248","impliedFormat":1},{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true,"impliedFormat":1},{"version":"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","impliedFormat":1},{"version":"103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","impliedFormat":1},{"version":"f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","impliedFormat":1},{"version":"59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7","impliedFormat":1},{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","impliedFormat":1},{"version":"3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","impliedFormat":1},{"version":"a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","impliedFormat":1},{"version":"85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","impliedFormat":1},{"version":"9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","impliedFormat":1},{"version":"f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"d982cdd2610155b3cbcbfa62ccabcf2d2b739f821518ef113348d160ef0010d9","impliedFormat":1},{"version":"ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","impliedFormat":1},{"version":"22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","impliedFormat":1},{"version":"e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","impliedFormat":1},{"version":"cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2","impliedFormat":1},{"version":"1de1ad6a1929317171d8cfcd55bb2732257680c1bf89bcd53e1d46a4d8dbda22","affectsGlobalScope":true,"impliedFormat":1}],"root":[[79,86],[88,117]],"options":{"allowJs":true,"composite":true,"declaration":true,"downlevelIteration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"importHelpers":true,"module":99,"noFallthroughCasesInSwitch":true,"outDir":"./","skipLibCheck":true,"strict":true,"target":99},"referencedMap":[[171,1],[170,2],[175,3],[118,4],[119,4],[121,5],[122,6],[123,7],[124,8],[125,9],[126,10],[127,11],[128,12],[129,13],[130,14],[131,14],[132,15],[133,16],[134,17],[135,18],[120,19],[167,2],[136,20],[137,21],[138,22],[168,23],[139,24],[140,25],[141,26],[142,27],[143,28],[144,29],[145,30],[146,31],[147,32],[148,33],[149,34],[150,35],[152,36],[151,37],[153,38],[154,39],[155,40],[156,41],[157,42],[158,43],[159,44],[160,45],[161,46],[162,47],[163,48],[164,49],[165,50],[166,51],[169,2],[87,2],[173,52],[174,53],[172,54],[78,2],[76,2],[77,2],[13,2],[15,2],[14,2],[2,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[23,2],[3,2],[24,2],[25,2],[4,2],[26,2],[30,2],[27,2],[28,2],[29,2],[31,2],[32,2],[33,2],[5,2],[34,2],[35,2],[36,2],[37,2],[6,2],[41,2],[38,2],[39,2],[40,2],[42,2],[7,2],[43,2],[48,2],[49,2],[44,2],[45,2],[46,2],[47,2],[8,2],[53,2],[50,2],[51,2],[52,2],[54,2],[9,2],[55,2],[56,2],[57,2],[59,2],[58,2],[60,2],[61,2],[10,2],[62,2],[63,2],[64,2],[11,2],[65,2],[66,2],[67,2],[68,2],[69,2],[1,2],[70,2],[71,2],[12,2],[74,2],[73,2],[72,2],[75,2],[111,55],[114,56],[115,57],[116,56],[117,58],[107,56],[84,56],[79,56],[109,59],[108,60],[113,61],[80,56],[105,62],[86,63],[106,64],[89,65],[103,66],[101,67],[104,67],[98,56],[102,68],[99,68],[100,68],[85,69],[88,70],[112,57],[90,56],[94,56],[97,71],[91,56],[96,72],[93,73],[92,74],[95,56],[83,75],[81,56],[82,76],[110,56]],"latestChangedDtsFile":"./src/common/index.d.ts","version":"5.7.2"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|