@blotoutio/providers-blotout-wallet-sdk 1.63.2 → 1.64.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/core.cjs.js +25 -1
- package/core.js +25 -1
- package/core.mjs +25 -1
- package/index.cjs.js +25 -1
- package/index.js +25 -1
- package/index.mjs +25 -1
- package/package.json +1 -1
- package/stores/shopify/index.cjs.js +25 -1
- package/stores/shopify/index.js +25 -1
- package/stores/shopify/index.mjs +25 -1
- package/ui.cjs.js +25 -1
- package/ui.js +25 -1
- package/ui.mjs +25 -1
package/core.cjs.js
CHANGED
|
@@ -400,7 +400,31 @@ const usStates = new Map([
|
|
|
400
400
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
401
401
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
402
402
|
]);
|
|
403
|
-
|
|
403
|
+
/**
|
|
404
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
405
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
406
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
407
|
+
*/
|
|
408
|
+
const caProvinces = new Map([
|
|
409
|
+
['CA-AB', 'Alberta'],
|
|
410
|
+
['CA-BC', 'British Columbia'],
|
|
411
|
+
['CA-MB', 'Manitoba'],
|
|
412
|
+
['CA-NB', 'New Brunswick'],
|
|
413
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
414
|
+
['CA-NS', 'Nova Scotia'],
|
|
415
|
+
['CA-NT', 'Northwest Territories'],
|
|
416
|
+
['CA-NU', 'Nunavut'],
|
|
417
|
+
['CA-ON', 'Ontario'],
|
|
418
|
+
['CA-PE', 'Prince Edward Island'],
|
|
419
|
+
['CA-QC', 'Quebec'],
|
|
420
|
+
['CA-SK', 'Saskatchewan'],
|
|
421
|
+
['CA-YT', 'Yukon'],
|
|
422
|
+
]);
|
|
423
|
+
new Set([
|
|
424
|
+
...isoCountries.keys(),
|
|
425
|
+
...usStates.keys(),
|
|
426
|
+
...caProvinces.keys(),
|
|
427
|
+
]);
|
|
404
428
|
|
|
405
429
|
/**
|
|
406
430
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/core.js
CHANGED
|
@@ -401,7 +401,31 @@ var ProvidersBlotoutWalletSdk = (function () {
|
|
|
401
401
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
402
402
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
403
403
|
]);
|
|
404
|
-
|
|
404
|
+
/**
|
|
405
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
406
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
407
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
408
|
+
*/
|
|
409
|
+
const caProvinces = new Map([
|
|
410
|
+
['CA-AB', 'Alberta'],
|
|
411
|
+
['CA-BC', 'British Columbia'],
|
|
412
|
+
['CA-MB', 'Manitoba'],
|
|
413
|
+
['CA-NB', 'New Brunswick'],
|
|
414
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
415
|
+
['CA-NS', 'Nova Scotia'],
|
|
416
|
+
['CA-NT', 'Northwest Territories'],
|
|
417
|
+
['CA-NU', 'Nunavut'],
|
|
418
|
+
['CA-ON', 'Ontario'],
|
|
419
|
+
['CA-PE', 'Prince Edward Island'],
|
|
420
|
+
['CA-QC', 'Quebec'],
|
|
421
|
+
['CA-SK', 'Saskatchewan'],
|
|
422
|
+
['CA-YT', 'Yukon'],
|
|
423
|
+
]);
|
|
424
|
+
new Set([
|
|
425
|
+
...isoCountries.keys(),
|
|
426
|
+
...usStates.keys(),
|
|
427
|
+
...caProvinces.keys(),
|
|
428
|
+
]);
|
|
405
429
|
|
|
406
430
|
/**
|
|
407
431
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/core.mjs
CHANGED
|
@@ -398,7 +398,31 @@ const usStates = new Map([
|
|
|
398
398
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
399
399
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
400
400
|
]);
|
|
401
|
-
|
|
401
|
+
/**
|
|
402
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
403
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
404
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
405
|
+
*/
|
|
406
|
+
const caProvinces = new Map([
|
|
407
|
+
['CA-AB', 'Alberta'],
|
|
408
|
+
['CA-BC', 'British Columbia'],
|
|
409
|
+
['CA-MB', 'Manitoba'],
|
|
410
|
+
['CA-NB', 'New Brunswick'],
|
|
411
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
412
|
+
['CA-NS', 'Nova Scotia'],
|
|
413
|
+
['CA-NT', 'Northwest Territories'],
|
|
414
|
+
['CA-NU', 'Nunavut'],
|
|
415
|
+
['CA-ON', 'Ontario'],
|
|
416
|
+
['CA-PE', 'Prince Edward Island'],
|
|
417
|
+
['CA-QC', 'Quebec'],
|
|
418
|
+
['CA-SK', 'Saskatchewan'],
|
|
419
|
+
['CA-YT', 'Yukon'],
|
|
420
|
+
]);
|
|
421
|
+
new Set([
|
|
422
|
+
...isoCountries.keys(),
|
|
423
|
+
...usStates.keys(),
|
|
424
|
+
...caProvinces.keys(),
|
|
425
|
+
]);
|
|
402
426
|
|
|
403
427
|
/**
|
|
404
428
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/index.cjs.js
CHANGED
|
@@ -402,7 +402,31 @@ const usStates = new Map([
|
|
|
402
402
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
403
403
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
404
404
|
]);
|
|
405
|
-
|
|
405
|
+
/**
|
|
406
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
407
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
408
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
409
|
+
*/
|
|
410
|
+
const caProvinces = new Map([
|
|
411
|
+
['CA-AB', 'Alberta'],
|
|
412
|
+
['CA-BC', 'British Columbia'],
|
|
413
|
+
['CA-MB', 'Manitoba'],
|
|
414
|
+
['CA-NB', 'New Brunswick'],
|
|
415
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
416
|
+
['CA-NS', 'Nova Scotia'],
|
|
417
|
+
['CA-NT', 'Northwest Territories'],
|
|
418
|
+
['CA-NU', 'Nunavut'],
|
|
419
|
+
['CA-ON', 'Ontario'],
|
|
420
|
+
['CA-PE', 'Prince Edward Island'],
|
|
421
|
+
['CA-QC', 'Quebec'],
|
|
422
|
+
['CA-SK', 'Saskatchewan'],
|
|
423
|
+
['CA-YT', 'Yukon'],
|
|
424
|
+
]);
|
|
425
|
+
new Set([
|
|
426
|
+
...isoCountries.keys(),
|
|
427
|
+
...usStates.keys(),
|
|
428
|
+
...caProvinces.keys(),
|
|
429
|
+
]);
|
|
406
430
|
|
|
407
431
|
/**
|
|
408
432
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/index.js
CHANGED
|
@@ -403,7 +403,31 @@ var ProvidersBlotoutWalletSdk = (function () {
|
|
|
403
403
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
404
404
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
405
405
|
]);
|
|
406
|
-
|
|
406
|
+
/**
|
|
407
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
408
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
409
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
410
|
+
*/
|
|
411
|
+
const caProvinces = new Map([
|
|
412
|
+
['CA-AB', 'Alberta'],
|
|
413
|
+
['CA-BC', 'British Columbia'],
|
|
414
|
+
['CA-MB', 'Manitoba'],
|
|
415
|
+
['CA-NB', 'New Brunswick'],
|
|
416
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
417
|
+
['CA-NS', 'Nova Scotia'],
|
|
418
|
+
['CA-NT', 'Northwest Territories'],
|
|
419
|
+
['CA-NU', 'Nunavut'],
|
|
420
|
+
['CA-ON', 'Ontario'],
|
|
421
|
+
['CA-PE', 'Prince Edward Island'],
|
|
422
|
+
['CA-QC', 'Quebec'],
|
|
423
|
+
['CA-SK', 'Saskatchewan'],
|
|
424
|
+
['CA-YT', 'Yukon'],
|
|
425
|
+
]);
|
|
426
|
+
new Set([
|
|
427
|
+
...isoCountries.keys(),
|
|
428
|
+
...usStates.keys(),
|
|
429
|
+
...caProvinces.keys(),
|
|
430
|
+
]);
|
|
407
431
|
|
|
408
432
|
/**
|
|
409
433
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/index.mjs
CHANGED
|
@@ -400,7 +400,31 @@ const usStates = new Map([
|
|
|
400
400
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
401
401
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
402
402
|
]);
|
|
403
|
-
|
|
403
|
+
/**
|
|
404
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
405
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
406
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
407
|
+
*/
|
|
408
|
+
const caProvinces = new Map([
|
|
409
|
+
['CA-AB', 'Alberta'],
|
|
410
|
+
['CA-BC', 'British Columbia'],
|
|
411
|
+
['CA-MB', 'Manitoba'],
|
|
412
|
+
['CA-NB', 'New Brunswick'],
|
|
413
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
414
|
+
['CA-NS', 'Nova Scotia'],
|
|
415
|
+
['CA-NT', 'Northwest Territories'],
|
|
416
|
+
['CA-NU', 'Nunavut'],
|
|
417
|
+
['CA-ON', 'Ontario'],
|
|
418
|
+
['CA-PE', 'Prince Edward Island'],
|
|
419
|
+
['CA-QC', 'Quebec'],
|
|
420
|
+
['CA-SK', 'Saskatchewan'],
|
|
421
|
+
['CA-YT', 'Yukon'],
|
|
422
|
+
]);
|
|
423
|
+
new Set([
|
|
424
|
+
...isoCountries.keys(),
|
|
425
|
+
...usStates.keys(),
|
|
426
|
+
...caProvinces.keys(),
|
|
427
|
+
]);
|
|
404
428
|
|
|
405
429
|
/**
|
|
406
430
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/package.json
CHANGED
|
@@ -390,7 +390,31 @@ const usStates = new Map([
|
|
|
390
390
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
391
391
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
392
392
|
]);
|
|
393
|
-
|
|
393
|
+
/**
|
|
394
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
395
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
396
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
397
|
+
*/
|
|
398
|
+
const caProvinces = new Map([
|
|
399
|
+
['CA-AB', 'Alberta'],
|
|
400
|
+
['CA-BC', 'British Columbia'],
|
|
401
|
+
['CA-MB', 'Manitoba'],
|
|
402
|
+
['CA-NB', 'New Brunswick'],
|
|
403
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
404
|
+
['CA-NS', 'Nova Scotia'],
|
|
405
|
+
['CA-NT', 'Northwest Territories'],
|
|
406
|
+
['CA-NU', 'Nunavut'],
|
|
407
|
+
['CA-ON', 'Ontario'],
|
|
408
|
+
['CA-PE', 'Prince Edward Island'],
|
|
409
|
+
['CA-QC', 'Quebec'],
|
|
410
|
+
['CA-SK', 'Saskatchewan'],
|
|
411
|
+
['CA-YT', 'Yukon'],
|
|
412
|
+
]);
|
|
413
|
+
new Set([
|
|
414
|
+
...isoCountries.keys(),
|
|
415
|
+
...usStates.keys(),
|
|
416
|
+
...caProvinces.keys(),
|
|
417
|
+
]);
|
|
394
418
|
|
|
395
419
|
/**
|
|
396
420
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/stores/shopify/index.js
CHANGED
|
@@ -391,7 +391,31 @@
|
|
|
391
391
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
392
392
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
393
393
|
]);
|
|
394
|
-
|
|
394
|
+
/**
|
|
395
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
396
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
397
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
398
|
+
*/
|
|
399
|
+
const caProvinces = new Map([
|
|
400
|
+
['CA-AB', 'Alberta'],
|
|
401
|
+
['CA-BC', 'British Columbia'],
|
|
402
|
+
['CA-MB', 'Manitoba'],
|
|
403
|
+
['CA-NB', 'New Brunswick'],
|
|
404
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
405
|
+
['CA-NS', 'Nova Scotia'],
|
|
406
|
+
['CA-NT', 'Northwest Territories'],
|
|
407
|
+
['CA-NU', 'Nunavut'],
|
|
408
|
+
['CA-ON', 'Ontario'],
|
|
409
|
+
['CA-PE', 'Prince Edward Island'],
|
|
410
|
+
['CA-QC', 'Quebec'],
|
|
411
|
+
['CA-SK', 'Saskatchewan'],
|
|
412
|
+
['CA-YT', 'Yukon'],
|
|
413
|
+
]);
|
|
414
|
+
new Set([
|
|
415
|
+
...isoCountries.keys(),
|
|
416
|
+
...usStates.keys(),
|
|
417
|
+
...caProvinces.keys(),
|
|
418
|
+
]);
|
|
395
419
|
|
|
396
420
|
/**
|
|
397
421
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/stores/shopify/index.mjs
CHANGED
|
@@ -388,7 +388,31 @@ const usStates = new Map([
|
|
|
388
388
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
389
389
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
390
390
|
]);
|
|
391
|
-
|
|
391
|
+
/**
|
|
392
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
393
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
394
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
395
|
+
*/
|
|
396
|
+
const caProvinces = new Map([
|
|
397
|
+
['CA-AB', 'Alberta'],
|
|
398
|
+
['CA-BC', 'British Columbia'],
|
|
399
|
+
['CA-MB', 'Manitoba'],
|
|
400
|
+
['CA-NB', 'New Brunswick'],
|
|
401
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
402
|
+
['CA-NS', 'Nova Scotia'],
|
|
403
|
+
['CA-NT', 'Northwest Territories'],
|
|
404
|
+
['CA-NU', 'Nunavut'],
|
|
405
|
+
['CA-ON', 'Ontario'],
|
|
406
|
+
['CA-PE', 'Prince Edward Island'],
|
|
407
|
+
['CA-QC', 'Quebec'],
|
|
408
|
+
['CA-SK', 'Saskatchewan'],
|
|
409
|
+
['CA-YT', 'Yukon'],
|
|
410
|
+
]);
|
|
411
|
+
new Set([
|
|
412
|
+
...isoCountries.keys(),
|
|
413
|
+
...usStates.keys(),
|
|
414
|
+
...caProvinces.keys(),
|
|
415
|
+
]);
|
|
392
416
|
|
|
393
417
|
/**
|
|
394
418
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/ui.cjs.js
CHANGED
|
@@ -510,7 +510,31 @@ const usStates = new Map([
|
|
|
510
510
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
511
511
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
512
512
|
]);
|
|
513
|
-
|
|
513
|
+
/**
|
|
514
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
515
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
516
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
517
|
+
*/
|
|
518
|
+
const caProvinces = new Map([
|
|
519
|
+
['CA-AB', 'Alberta'],
|
|
520
|
+
['CA-BC', 'British Columbia'],
|
|
521
|
+
['CA-MB', 'Manitoba'],
|
|
522
|
+
['CA-NB', 'New Brunswick'],
|
|
523
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
524
|
+
['CA-NS', 'Nova Scotia'],
|
|
525
|
+
['CA-NT', 'Northwest Territories'],
|
|
526
|
+
['CA-NU', 'Nunavut'],
|
|
527
|
+
['CA-ON', 'Ontario'],
|
|
528
|
+
['CA-PE', 'Prince Edward Island'],
|
|
529
|
+
['CA-QC', 'Quebec'],
|
|
530
|
+
['CA-SK', 'Saskatchewan'],
|
|
531
|
+
['CA-YT', 'Yukon'],
|
|
532
|
+
]);
|
|
533
|
+
new Set([
|
|
534
|
+
...isoCountries.keys(),
|
|
535
|
+
...usStates.keys(),
|
|
536
|
+
...caProvinces.keys(),
|
|
537
|
+
]);
|
|
514
538
|
|
|
515
539
|
/**
|
|
516
540
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/ui.js
CHANGED
|
@@ -511,7 +511,31 @@
|
|
|
511
511
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
512
512
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
513
513
|
]);
|
|
514
|
-
|
|
514
|
+
/**
|
|
515
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
516
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
517
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
518
|
+
*/
|
|
519
|
+
const caProvinces = new Map([
|
|
520
|
+
['CA-AB', 'Alberta'],
|
|
521
|
+
['CA-BC', 'British Columbia'],
|
|
522
|
+
['CA-MB', 'Manitoba'],
|
|
523
|
+
['CA-NB', 'New Brunswick'],
|
|
524
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
525
|
+
['CA-NS', 'Nova Scotia'],
|
|
526
|
+
['CA-NT', 'Northwest Territories'],
|
|
527
|
+
['CA-NU', 'Nunavut'],
|
|
528
|
+
['CA-ON', 'Ontario'],
|
|
529
|
+
['CA-PE', 'Prince Edward Island'],
|
|
530
|
+
['CA-QC', 'Quebec'],
|
|
531
|
+
['CA-SK', 'Saskatchewan'],
|
|
532
|
+
['CA-YT', 'Yukon'],
|
|
533
|
+
]);
|
|
534
|
+
new Set([
|
|
535
|
+
...isoCountries.keys(),
|
|
536
|
+
...usStates.keys(),
|
|
537
|
+
...caProvinces.keys(),
|
|
538
|
+
]);
|
|
515
539
|
|
|
516
540
|
/**
|
|
517
541
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/ui.mjs
CHANGED
|
@@ -508,7 +508,31 @@ const usStates = new Map([
|
|
|
508
508
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
509
509
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
510
510
|
]);
|
|
511
|
-
|
|
511
|
+
/**
|
|
512
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
513
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
514
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
515
|
+
*/
|
|
516
|
+
const caProvinces = new Map([
|
|
517
|
+
['CA-AB', 'Alberta'],
|
|
518
|
+
['CA-BC', 'British Columbia'],
|
|
519
|
+
['CA-MB', 'Manitoba'],
|
|
520
|
+
['CA-NB', 'New Brunswick'],
|
|
521
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
522
|
+
['CA-NS', 'Nova Scotia'],
|
|
523
|
+
['CA-NT', 'Northwest Territories'],
|
|
524
|
+
['CA-NU', 'Nunavut'],
|
|
525
|
+
['CA-ON', 'Ontario'],
|
|
526
|
+
['CA-PE', 'Prince Edward Island'],
|
|
527
|
+
['CA-QC', 'Quebec'],
|
|
528
|
+
['CA-SK', 'Saskatchewan'],
|
|
529
|
+
['CA-YT', 'Yukon'],
|
|
530
|
+
]);
|
|
531
|
+
new Set([
|
|
532
|
+
...isoCountries.keys(),
|
|
533
|
+
...usStates.keys(),
|
|
534
|
+
...caProvinces.keys(),
|
|
535
|
+
]);
|
|
512
536
|
|
|
513
537
|
/**
|
|
514
538
|
* Exact utm_source normalization (lowercase key → canonical name).
|