@deriverse/kit 1.0.13 → 1.0.15

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1103,7 +1103,7 @@ class Engine {
1103
1103
  commitment: this.commitment,
1104
1104
  encoding: 'base64'
1105
1105
  }).send();
1106
- if (info != null) {
1106
+ if (info.value) {
1107
1107
  const clientPrimaryAccountHeaderModel = structure_models_1.ClientPrimaryAccountHeaderModel.fromBuffer(info.value.data);
1108
1108
  if (clientPrimaryAccountHeaderModel.walletAddress == signer) {
1109
1109
  this.clientPrimaryAccount = clientPrimaryAccount;
@@ -2145,10 +2145,10 @@ class Engine {
2145
2145
  });
2146
2146
  const perpMapsAccountSize = 175336;
2147
2147
  const perpMapsAccountLamports = yield this.rpc.getMinimumBalanceForRentExemption(BigInt(perpMapsAccountSize)).send();
2148
- const signer = (0, kit_1.createNoopSigner)(this.signer);
2148
+ //const signer = createNoopSigner(this.signer);
2149
2149
  const createMapsAccountIx = (0, system_1.getCreateAccountWithSeedInstruction)({
2150
- payer: signer,
2151
- baseAccount: signer,
2150
+ payer: this.signer,
2151
+ baseAccount: this.signer,
2152
2152
  base: this.signer,
2153
2153
  newAccount: perpMapsAccount,
2154
2154
  seed: perpMapsAccountSeed,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriverse/kit",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",