Skip to content

Commit

Permalink
bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
arobsn committed Jul 20, 2024
1 parent 41dbb9d commit 35cbc39
Show file tree
Hide file tree
Showing 5 changed files with 1,259 additions and 1,527 deletions.
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,33 @@
"snapshot:publish": "pnpm clear && pnpm -r build && changeset publish --no-git-tag --tag snapshot"
},
"devDependencies": {
"@biomejs/biome": "1.8.2",
"@changesets/cli": "^2.27.5",
"@edge-runtime/vm": "^3.2.0",
"@biomejs/biome": "^1.8.3",
"@changesets/cli": "^2.27.7",
"@edge-runtime/vm": "^4.0.1",
"@fleet-sdk/common": "workspace:^",
"@fleet-sdk/crypto": "workspace:^",
"@types/diff": "^5.2.1",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/coverage-v8": "^2.0.3",
"ergo-lib-wasm-nodejs": "^0.26.0",
"fast-check": "^3.19.0",
"happy-dom": "^14.12.0",
"fast-check": "^3.20.0",
"happy-dom": "^14.12.3",
"npm-run-all": "^4.1.5",
"open-cli": "^8.0.0",
"sigmastate-js": "0.4.6",
"tsup": "^8.1.0",
"type-fest": "^4.20.1",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"tsup": "^8.2.1",
"type-fest": "^4.22.1",
"typescript": "^5.5.3",
"vite": "^5.3.4",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
"vitest": "^2.0.3"
},
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"pnpm": {
"requiredScripts": ["build"]
"requiredScripts": [
"build"
]
}
}
21 changes: 9 additions & 12 deletions packages/mock-chain/src/mockChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,19 +216,16 @@ export class MockChain {
const box = transaction.outputs.find((output) =>
output.assets.some((asset) => asset.tokenId === firstInputId)
);

if (box) {
const name = decode(box.additionalRegisters.R4, safeUtf8Encode);
const decimals = decode(box.additionalRegisters.R6, safeUtf8Encode);
if (name) {
this.#metadataMap.set(firstInputId, {
name,
decimals: decimals ? Number.parseInt(decimals) : undefined
});
}
if (!box) return;

const name = decode(box.additionalRegisters.R4, safeUtf8Encode);
const decimals = decode(box.additionalRegisters.R6, safeUtf8Encode);
if (name) {
this.#metadataMap.set(firstInputId, {
name,
decimals: decimals ? Number.parseInt(decimals) : undefined
});
}

return undefined;
}
}

Expand Down
8 changes: 4 additions & 4 deletions packages/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
"build": "tsup --config ../../tsup.config.ts --entry ./src/index.ts --entry ./src/wordlists.ts"
},
"dependencies": {
"@fleet-sdk/core": "workspace:^",
"@fleet-sdk/common": "workspace:^",
"@fleet-sdk/serializer": "workspace:^",
"@fleet-sdk/core": "workspace:^",
"@fleet-sdk/crypto": "workspace:^",
"@fleet-sdk/serializer": "workspace:^",
"@noble/curves": "^1.4.2",
"@scure/bip32": "^1.4.0",
"@scure/bip39": "^1.3.0",
"@noble/curves": "^1.4.0"
"@scure/bip39": "^1.3.0"
},
"engines": {
"node": ">=18"
Expand Down
Loading

0 comments on commit 35cbc39

Please sign in to comment.