@airwallex/components-sdk
Advanced tools
Comparing version 1.4.11 to 1.4.16
@@ -0,1 +1,36 @@ | ||
## [1.4.16](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.15...v1.4.16) (2024-04-17) | ||
### Bug Fixes | ||
* [OSAI-9559] log script loading time ([1590e47](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/1590e4701cc8d6f6a33a613405b3a2e0f8e014ad)) | ||
## [1.4.15](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.14...v1.4.15) (2024-04-07) | ||
### Bug Fixes | ||
* [OSAI-9436] upload to multiple gcs ([5c4a7d4](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/5c4a7d469494d7d27268a0e610a42a9228742774)) | ||
## [1.4.14](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.13...v1.4.14) (2024-04-03) | ||
### Bug Fixes | ||
* [OSAI-9436] bucket version ([9170595](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/9170595d7fdf1c407893f346a83df8b286a9c370)) | ||
## [1.4.13](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.12...v1.4.13) (2024-04-03) | ||
### Bug Fixes | ||
* [OSAI-9436] bucket version ([2cb6a3b](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/2cb6a3bb12dcce034487808e3fbbd30f917670ed)) | ||
## [1.4.12](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.11...v1.4.12) (2024-04-03) | ||
### Bug Fixes | ||
* [OSAI-9436] upload multi buckets ([b44a27f](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/b44a27f7634869d12a463851b1e2afaf5b738a09)) | ||
## [1.4.11](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.10...v1.4.11) (2024-03-08) | ||
@@ -2,0 +37,0 @@ |
@@ -91,3 +91,3 @@ 'use strict'; | ||
var name = "@airwallex/components-sdk"; | ||
var version = "1.4.6"; | ||
var version = "1.4.11"; | ||
var main = "./lib/index.js"; | ||
@@ -290,2 +290,3 @@ var module$1 = "./lib/index.mjs"; | ||
var now = function () { return Math.floor(performance.now()); }; | ||
var createScript = function (url) { | ||
@@ -310,7 +311,12 @@ var script = document.createElement('script'); | ||
tryToResolve = function () { return __awaiter(void 0, void 0, void 0, function () { | ||
var script; | ||
var start, script; | ||
return __generator(this, function (_a) { | ||
start = now(); | ||
script = createScript(url); | ||
return [2 /*return*/, new Promise(function (resolve, reject) { | ||
script.addEventListener('load', function () { | ||
logInfo('[components-sdk] SDK script loaded', { | ||
scriptUrl: url, | ||
time: now() - start | ||
}); | ||
resolve(true); | ||
@@ -323,3 +329,4 @@ }); | ||
scriptUrl: url, | ||
error: err | ||
error: err, | ||
time: now() - start | ||
}); | ||
@@ -326,0 +333,0 @@ reject(new Error("Failed to load Airwallex SDK scripts: ".concat(url))); |
{ | ||
"name": "@airwallex/components-sdk", | ||
"version": "1.4.11", | ||
"version": "1.4.16", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./lib/index.mjs", |
@@ -427,2 +427,37 @@ # Airwallex Components SDK | ||
## [1.4.16](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.15...v1.4.16) (2024-04-17) | ||
### Bug Fixes | ||
* [OSAI-9559] log script loading time ([1590e47](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/1590e4701cc8d6f6a33a613405b3a2e0f8e014ad)) | ||
## [1.4.15](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.14...v1.4.15) (2024-04-07) | ||
### Bug Fixes | ||
* [OSAI-9436] upload to multiple gcs ([5c4a7d4](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/5c4a7d469494d7d27268a0e610a42a9228742774)) | ||
## [1.4.14](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.13...v1.4.14) (2024-04-03) | ||
### Bug Fixes | ||
* [OSAI-9436] bucket version ([9170595](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/9170595d7fdf1c407893f346a83df8b286a9c370)) | ||
## [1.4.13](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.12...v1.4.13) (2024-04-03) | ||
### Bug Fixes | ||
* [OSAI-9436] bucket version ([2cb6a3b](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/2cb6a3bb12dcce034487808e3fbbd30f917670ed)) | ||
## [1.4.12](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.11...v1.4.12) (2024-04-03) | ||
### Bug Fixes | ||
* [OSAI-9436] upload multi buckets ([b44a27f](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/b44a27f7634869d12a463851b1e2afaf5b738a09)) | ||
## [1.4.11](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.10...v1.4.11) (2024-03-08) | ||
@@ -429,0 +464,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
632535
15279
468
1
83
1