@bonfida/aaob
Advanced tools
Comparing version 0.1.1 to 0.1.2
/// <reference types="node" /> | ||
import { PublicKey } from "@solana/web3.js"; | ||
import { Schema } from "borsh"; | ||
@@ -43,3 +42,2 @@ import BN from "bn.js"; | ||
leafCount: number; | ||
marketAddress: PublicKey; | ||
static LEN: number; | ||
@@ -57,3 +55,2 @@ static schema: Schema; | ||
leafCount: number; | ||
marketAddress: Uint8Array; | ||
}); | ||
@@ -60,0 +57,0 @@ } |
@@ -7,3 +7,2 @@ "use strict"; | ||
exports.Slab = exports.SlabHeader = exports.LeafNode = exports.InnerNode = void 0; | ||
const web3_js_1 = require("@solana/web3.js"); | ||
const borsh_1 = require("borsh"); | ||
@@ -78,7 +77,6 @@ const bn_js_1 = __importDefault(require("bn.js")); | ||
this.innerNodeBumpIndex = arg.innerNodeBumpIndex; | ||
this.marketAddress = new web3_js_1.PublicKey(arg.marketAddress); | ||
} | ||
} | ||
exports.SlabHeader = SlabHeader; | ||
SlabHeader.LEN = 72; | ||
SlabHeader.LEN = 40; | ||
SlabHeader.schema = new Map([ | ||
@@ -99,3 +97,2 @@ [ | ||
["leafCount", "u32"], | ||
["marketAddress", [32]], | ||
], | ||
@@ -102,0 +99,0 @@ }, |
{ | ||
"name": "@bonfida/aaob", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"license": "MIT", | ||
@@ -52,2 +52,2 @@ "repository": { | ||
} | ||
} | ||
} |
@@ -1,2 +0,1 @@ | ||
import { PublicKey } from "@solana/web3.js"; | ||
import { Schema, deserializeUnchecked } from "borsh"; | ||
@@ -87,5 +86,4 @@ import BN from "bn.js"; | ||
leafCount: number; | ||
marketAddress: PublicKey; | ||
static LEN: number = 72; | ||
static LEN: number = 40; | ||
@@ -110,3 +108,2 @@ static schema: Schema = new Map([ | ||
["leafCount", "u32"], | ||
["marketAddress", [32]], | ||
], | ||
@@ -127,3 +124,2 @@ }, | ||
leafCount: number; | ||
marketAddress: Uint8Array; | ||
}) { | ||
@@ -140,3 +136,2 @@ this.accountTag = arg.accountTag.toNumber() as AccountTag; | ||
this.innerNodeBumpIndex = arg.innerNodeBumpIndex; | ||
this.marketAddress = new PublicKey(arg.marketAddress); | ||
} | ||
@@ -143,0 +138,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176232
52
3717