Skip to content

Commit

Permalink
Chore: update wallet.rs (#5174)
Browse files Browse the repository at this point in the history
* chore: update wallet.rs to rc.4

* chore: update @iota/types

* feat: add utf8ToHex conversion

* chore: updated yarn.lock
  • Loading branch information
Tuditi committed Nov 10, 2022
1 parent 1d08df7 commit c2d5052
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions packages/shared/lib/core/wallet/utils/getOutputOptions.ts
@@ -1,4 +1,4 @@
import { convertDateToUnixTimestamp } from '@core/utils'
import { convertDateToUnixTimestamp, Converter } from '@core/utils'
import type { OutputOptions, Assets } from '@iota/wallet'
import { get } from 'svelte/store'
import { IAsset } from '../interfaces'
Expand Down Expand Up @@ -42,8 +42,8 @@ export function getOutputOptions(
recipientAddress,
amount,
features: {
...(metadata && { metadata }),
...(tag && { tag }),
...(metadata && { metadata: Converter.utf8ToHex(metadata, true) }),
...(tag && { tag: Converter.utf8ToHex(tag, true) }),
},
unlocks: {
...(unixTime && { expirationUnixTime: unixTime }),
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/package.json
Expand Up @@ -11,7 +11,7 @@
"@iota/transaction-converter": "^1.0.0-beta.30",
"@iota/unit-converter": "^1.0.0-beta.30",
"@iota/util.js": "^1.9.0-stardust.5",
"@iota/wallet": "2.0.3-rc.2",
"@iota/wallet": "2.0.3-rc.4",
"@sveltejs/svelte-virtual-list": "^3.0.1",
"big.js": "^6.0.3",
"lottie-web": "^5.7.8",
Expand All @@ -27,7 +27,7 @@
"test": "jest"
},
"devDependencies": {
"@iota/types": "^1.0.0-beta.11",
"@iota/types": "2.0.0-rc.1",
"@rollup/plugin-commonjs": "^13.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
Expand Down
22 changes: 11 additions & 11 deletions yarn.lock
Expand Up @@ -690,10 +690,10 @@
"@types/warning" "^3.0.0"
warning "^4.0.3"

"@iota/types@^1.0.0-beta.11":
version "1.0.0-beta.11"
resolved "https://registry.npmjs.org/@iota/types/-/types-1.0.0-beta.11.tgz"
integrity sha512-jFma7n4dpf+AikSIvY6CzrDDQ/TVnlV3HBIeOrDUDJku3oCcOkm8Jp/i0uKSD/krP2BAcDrWrNUr5Tn9MIw7+A==
"@iota/types@2.0.0-rc.1":
version "2.0.0-rc.1"
resolved "https://registry.yarnpkg.com/@iota/types/-/types-2.0.0-rc.1.tgz#a5652d89ccd7db1770de30baf5603cd5194fd3b6"
integrity sha512-IDov83MBDlRJJXj98sPhBVslgCSqFexsvelDTDeWKZwYG8G7I+BnMCjdVXiOzLrWy3ScWJljqx1yW4cqmTdpRg==

"@iota/types@^1.0.0-beta.15":
version "1.0.0-beta.15"
Expand Down Expand Up @@ -727,13 +727,13 @@
dependencies:
big-integer "^1.6.51"

"@iota/wallet@2.0.3-rc.2":
version "2.0.3-rc.2"
resolved "https://registry.yarnpkg.com/@iota/wallet/-/wallet-2.0.3-rc.2.tgz#b53f2ef3d5941fe9e1601aabc67bdcd6c81219bd"
integrity sha512-yGzJA757pWCJOTg+aSNfAcFfXpQlbyPG1du+FENYjNwUO3npriEQiMW2fhzHvVAyipGVfR+kO4xjV1lFQhZyLw==
"@iota/wallet@2.0.3-rc.4":
version "2.0.3-rc.4"
resolved "https://registry.yarnpkg.com/@iota/wallet/-/wallet-2.0.3-rc.4.tgz#8614bf297ffe8922d30f459580dd5a02c7a42875"
integrity sha512-Bkq9n2S+keRTAsR1tckY64JLMTIzuHcG/qM981lh/9vjV0oeXwplwqGutSJHVIdsfgRpOsap60xXfT77PkDkww==
dependencies:
"@iota/types" "^1.0.0-beta.15"
cargo-cp-artifact "^0.1.5"
cargo-cp-artifact "^0.1.6"
prebuild-install "^7.1.1"
typescript "^4.8.3"

Expand Down Expand Up @@ -2553,9 +2553,9 @@ caniuse-lite@^1.0.30001400:
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001412.tgz#30f67d55a865da43e0aeec003f073ea8764d5d7c"
integrity sha512-+TeEIee1gS5bYOiuf+PS/kp2mrXic37Hl66VY6EAfxasIk5fELTktK2oOezYed12H8w7jt3s512PpulQidPjwA==

cargo-cp-artifact@^0.1.5:
cargo-cp-artifact@^0.1.6:
version "0.1.6"
resolved "https://registry.npmjs.org/cargo-cp-artifact/-/cargo-cp-artifact-0.1.6.tgz"
resolved "https://registry.yarnpkg.com/cargo-cp-artifact/-/cargo-cp-artifact-0.1.6.tgz#df1bc9dad036ae0f4230639a869182e1d5850f89"
integrity sha512-CQw0doK/aaF7j041666XzuilHxqMxaKkn+I5vmBsd8SAwS0cO5CqVEVp0xJwOKstyqWZ6WK4Ww3O6p26x/Goyg==

chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2:
Expand Down

0 comments on commit c2d5052

Please sign in to comment.