@gala-chain/gala-core-sdk 1.1.0-beta.2 → 1.1.0-beta.4
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/README.md +13 -4
- package/dist/bridge.cjs +12 -3
- package/dist/bridge.cjs.map +1 -1
- package/dist/bridge.mjs +12 -3
- package/dist/bridge.mjs.map +1 -1
- package/dist/browser/bridge.js +1 -1
- package/dist/browser/bridge.js.map +1 -1
- package/dist/browser/utils/dto_operation.js.map +1 -1
- package/dist/browser/utils/transport.js +1 -1
- package/dist/browser/version.js +1 -1
- package/dist/browser/version.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2807,7 +2807,7 @@ async function signPreSend(signer, contractPath, method, dto) {
|
|
|
2807
2807
|
* fallback. It is the version in the default `User-Agent` (`GalaChain-SDK/<version>`) of every SDK
|
|
2808
2808
|
* request, whichever product SDK sends it.
|
|
2809
2809
|
*/
|
|
2810
|
-
const GALA_CORE_SDK_VERSION = "1.1.0-beta.
|
|
2810
|
+
const GALA_CORE_SDK_VERSION = "1.1.0-beta.4";
|
|
2811
2811
|
|
|
2812
2812
|
//#endregion
|
|
2813
2813
|
//#region src/utils/transport.ts
|
|
@@ -2868,7 +2868,7 @@ function buildRequestHeaders(wire, parts = {}) {
|
|
|
2868
2868
|
entries.set(name.toLowerCase(), [name, value]);
|
|
2869
2869
|
}
|
|
2870
2870
|
};
|
|
2871
|
-
if ((wire === null || wire === void 0 ? void 0 : wire.userAgent) !== false) put({ "User-Agent": (wire === null || wire === void 0 ? void 0 : wire.userAgent) ?? `GalaChain-SDK/${"1.1.0-beta.
|
|
2871
|
+
if ((wire === null || wire === void 0 ? void 0 : wire.userAgent) !== false) put({ "User-Agent": (wire === null || wire === void 0 ? void 0 : wire.userAgent) ?? `GalaChain-SDK/${"1.1.0-beta.4"}` });
|
|
2872
2872
|
put(parts.defaults);
|
|
2873
2873
|
put(wire === null || wire === void 0 ? void 0 : wire.headers);
|
|
2874
2874
|
if (parts.json === true && !entries.has("content-type")) put({ "Content-Type": "application/json" });
|