@airwallex/components-sdk
Advanced tools
Comparing version 1.6.0 to 1.7.1
@@ -0,1 +1,15 @@ | ||
## [1.7.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.7.0...v1.7.1) (2024-06-28) | ||
### Bug Fixes | ||
* [OBD-2389] fix pipeline ([6f8d2c9](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/6f8d2c98b880d4a3f08085fc6e4213e5a2037c54)) | ||
# [1.7.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.6.0...v1.7.0) (2024-06-28) | ||
### Features | ||
* [OBD-2389] update types ([caf702c](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/caf702c1a10e6e5c01eb7822080def8f3763af98)) | ||
# [1.6.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.5.0...v1.6.0) (2024-06-28) | ||
@@ -2,0 +16,0 @@ |
@@ -91,3 +91,3 @@ 'use strict'; | ||
var name = "@airwallex/components-sdk"; | ||
var version = "1.5.0"; | ||
var version = "1.6.0"; | ||
var main = "./lib/index.js"; | ||
@@ -101,13 +101,21 @@ var module$1 = "./lib/index.mjs"; | ||
var scripts = { | ||
prebuild: "node ./load-types.js && yarn clean", | ||
"load-types": "node ./load-types.js", | ||
prebuild: "yarn clean", | ||
build: "yarn rollup --config", | ||
postbuild: "yarn bundle-types", | ||
"bundle-types": "dts-bundle-generator -o ./lib/index.d.ts ./src/index.ts --no-check", | ||
"bundle-types": "dts-bundle-generator -o ./lib/index.d.ts ./src/index.ts", | ||
clean: "rm -rf dist lib", | ||
dev: "yarn clean & tsup --env.NODE_ENV development --watch --config tsup.config.ts", | ||
lint: "eslint \"src/**/*.ts*\"", | ||
test: "jest", | ||
sonar: "sonar-scanner", | ||
release: "semantic-release" | ||
release: "semantic-release", | ||
"lint-stage": "lint-staged", | ||
prepare: "husky" | ||
}; | ||
var prettier = { | ||
semi: true, | ||
singleQuote: true, | ||
printWidth: 80, | ||
trailingComma: "all" | ||
}; | ||
var publishConfig = { | ||
@@ -130,3 +138,2 @@ access: "public" | ||
"@types/jest": "^29.5.0", | ||
"@types/node": "^17.0.12", | ||
"@typescript-eslint/eslint-plugin": "^5.57.0", | ||
@@ -137,5 +144,8 @@ "@typescript-eslint/parser": "^5.57.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
husky: "^9.0.11", | ||
jest: "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
prettier: "^2.8.1", | ||
"lint-staged": "^15.2.7", | ||
prettier: "^3.3.2", | ||
rollup: "^4.9.6", | ||
@@ -161,2 +171,9 @@ "semantic-release": "^17.3.8", | ||
scripts: scripts, | ||
prettier: prettier, | ||
"lint-staged": { | ||
"src/**/*.{ts,tsx}": [ | ||
"yarn lint" | ||
], | ||
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": "prettier --write" | ||
}, | ||
publishConfig: publishConfig, | ||
@@ -433,3 +450,6 @@ devDependencies: devDependencies, | ||
.then(function () { | ||
logInfo('[components-sdk] SDK initialized', { options: maskPII(options), start: now() }); | ||
logInfo('[components-sdk] SDK initialized', { | ||
options: maskPII(options), | ||
start: now() | ||
}); | ||
resolve(getFunctionsInstanceWithNamespace()); | ||
@@ -497,3 +517,5 @@ })["catch"](function (error) { | ||
if (!error_1.code) { | ||
logError('[components-sdk] Unexpected errors when createElement', { error: error_1 }); | ||
logError('[components-sdk] Unexpected errors when createElement', { | ||
error: error_1 | ||
}); | ||
} | ||
@@ -500,0 +522,0 @@ else { |
{ | ||
"name": "@airwallex/components-sdk", | ||
"version": "1.6.0", | ||
"version": "1.7.1", | ||
"main": "./lib/index.js", | ||
@@ -12,13 +12,27 @@ "module": "./lib/index.mjs", | ||
"scripts": { | ||
"prebuild": "node ./load-types.js && yarn clean", | ||
"load-types": "node ./load-types.js", | ||
"prebuild": "yarn clean", | ||
"build": "yarn rollup --config", | ||
"postbuild": "yarn bundle-types", | ||
"bundle-types": "dts-bundle-generator -o ./lib/index.d.ts ./src/index.ts --no-check", | ||
"bundle-types": "dts-bundle-generator -o ./lib/index.d.ts ./src/index.ts", | ||
"clean": "rm -rf dist lib", | ||
"dev": "yarn clean & tsup --env.NODE_ENV development --watch --config tsup.config.ts", | ||
"lint": "eslint \"src/**/*.ts*\"", | ||
"test": "jest", | ||
"sonar": "sonar-scanner", | ||
"release": "semantic-release" | ||
"release": "semantic-release", | ||
"lint-stage": "lint-staged", | ||
"prepare": "husky" | ||
}, | ||
"prettier": { | ||
"semi": true, | ||
"singleQuote": true, | ||
"printWidth": 80, | ||
"trailingComma": "all" | ||
}, | ||
"lint-staged": { | ||
"src/**/*.{ts,tsx}": [ | ||
"yarn lint" | ||
], | ||
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": "prettier --write" | ||
}, | ||
"publishConfig": { | ||
@@ -41,3 +55,2 @@ "access": "public" | ||
"@types/jest": "^29.5.0", | ||
"@types/node": "^17.0.12", | ||
"@typescript-eslint/eslint-plugin": "^5.57.0", | ||
@@ -48,5 +61,8 @@ "@typescript-eslint/parser": "^5.57.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"husky": "^9.0.11", | ||
"jest": "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"prettier": "^2.8.1", | ||
"lint-staged": "^15.2.7", | ||
"prettier": "^3.3.2", | ||
"rollup": "^4.9.6", | ||
@@ -53,0 +69,0 @@ "semantic-release": "^17.3.8", |
@@ -427,2 +427,16 @@ # Airwallex Components SDK | ||
## [1.7.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.7.0...v1.7.1) (2024-06-28) | ||
### Bug Fixes | ||
* [OBD-2389] fix pipeline ([6f8d2c9](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/6f8d2c98b880d4a3f08085fc6e4213e5a2037c54)) | ||
# [1.7.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.6.0...v1.7.0) (2024-06-28) | ||
### Features | ||
* [OBD-2389] update types ([caf702c](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/caf702c1a10e6e5c01eb7822080def8f3763af98)) | ||
# [1.6.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.5.0...v1.6.0) (2024-06-28) | ||
@@ -429,0 +443,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
645498
15644
501
31