@gala-chain/gala-core-sdk 1.2.0 → 1.2.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/README.md +5 -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
|
@@ -2904,7 +2904,7 @@ async function signPreSendFor(signer, contractPath, method, dto) {
|
|
|
2904
2904
|
* fallback. It is the version in the default `User-Agent` (`GalaChain-SDK/<version>`) of every SDK
|
|
2905
2905
|
* request, whichever product SDK sends it.
|
|
2906
2906
|
*/
|
|
2907
|
-
const GALA_CORE_SDK_VERSION = "1.2.
|
|
2907
|
+
const GALA_CORE_SDK_VERSION = "1.2.1";
|
|
2908
2908
|
|
|
2909
2909
|
//#endregion
|
|
2910
2910
|
//#region src/utils/transport.ts
|
|
@@ -2965,7 +2965,7 @@ function buildRequestHeaders(wire, parts = {}) {
|
|
|
2965
2965
|
entries.set(name.toLowerCase(), [name, value]);
|
|
2966
2966
|
}
|
|
2967
2967
|
};
|
|
2968
|
-
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.2.
|
|
2968
|
+
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.2.1"}` });
|
|
2969
2969
|
put(parts.defaults);
|
|
2970
2970
|
put(wire === null || wire === void 0 ? void 0 : wire.headers);
|
|
2971
2971
|
if (parts.json === true && !entries.has("content-type")) put({ "Content-Type": "application/json" });
|