Skip to content

Commit

Permalink
Merge pull request #322 from helium/publish-wallet-link-fix
Browse files Browse the repository at this point in the history
v4.6.1
  • Loading branch information
matthewcarlreetz authored Jul 18, 2022
2 parents fc72c4a + 0022512 commit b5c5709
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 21 deletions.
8 changes: 4 additions & 4 deletions integration_tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
},
"dependencies": {
"@helium/address": "^4.3.1",
"@helium/crypto": "^4.6.0",
"@helium/http": "^4.6.0",
"@helium/transactions": "^4.6.0"
"@helium/crypto": "^4.6.1",
"@helium/http": "^4.6.1",
"@helium/transactions": "^4.6.1"
},
"version": "4.6.0",
"version": "4.6.1",
"devDependencies": {
"nock": "^13.2.4"
}
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"integration_tests",
"packages/*"
],
"version": "4.6.0",
"version": "4.6.1",
"npmClient": "yarn"
}
2 changes: 1 addition & 1 deletion packages/crypto-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@helium/crypto-react-native",
"version": "4.6.0",
"version": "4.6.1",
"description": "Cryptography utilities including mnemonics, keypairs and base58-check encoding for React Native",
"keywords": [
"helium",
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@helium/crypto",
"version": "4.6.0",
"version": "4.6.1",
"description": "Cryptography utilities including mnemonics, keypairs and base58-check encoding",
"keywords": [
"helium",
Expand Down
4 changes: 2 additions & 2 deletions packages/currency/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@helium/currency",
"version": "4.6.0",
"version": "4.6.1",
"description": "Utilities for handling different currency types on the Helium blockchain",
"keywords": [
"helium",
Expand All @@ -26,7 +26,7 @@
"build": "yarn run clean && tsc"
},
"dependencies": {
"@helium/transactions": "^4.6.0",
"@helium/transactions": "^4.6.1",
"bignumber.js": "^9.0.0"
},
"gitHead": "16442bef09f90dd9a83d4c9e1a347de3e80575e4"
Expand Down
6 changes: 3 additions & 3 deletions packages/http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@helium/http",
"version": "4.6.0",
"version": "4.6.1",
"description": "HTTP library for interacting with the Helium blockchain API",
"keywords": [
"helium",
Expand All @@ -27,8 +27,8 @@
},
"dependencies": {
"@helium/address": "^4.3.1",
"@helium/currency": "^4.6.0",
"@helium/transactions": "^4.6.0",
"@helium/currency": "^4.6.1",
"@helium/transactions": "^4.6.1",
"axios": "^0.21.1",
"camelcase-keys": "^6.2.2",
"qs": "^6.9.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/onboarding/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@helium/onboarding",
"version": "4.6.0",
"version": "4.6.1",
"description": "HTTP library for interacting with an onboarding server",
"keywords": [
"helium",
Expand Down
4 changes: 2 additions & 2 deletions packages/transactions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@helium/transactions",
"version": "4.6.0",
"version": "4.6.1",
"description": "Construct and serialize Helium blockchain transaction primatives",
"keywords": [
"helium",
Expand Down Expand Up @@ -34,7 +34,7 @@
"path": "^0.12.7"
},
"devDependencies": {
"@helium/crypto": "^4.6.0"
"@helium/crypto": "^4.6.1"
},
"gitHead": "16442bef09f90dd9a83d4c9e1a347de3e80575e4"
}
7 changes: 4 additions & 3 deletions packages/wallet-link/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `@helium/wallet-link`

Utilities for linking a 3rd party app to the helium wallet. The link token is used for hotspot onboarding, location
Utilities for linking a 3rd party app to the helium wallet. The link token is used for hotspot onboarding, location
assertion, and ownership transfer transaction signing with the Helium Wallet and Hotspot apps.

## Installation
Expand All @@ -17,11 +17,11 @@ $ npm install --save-dev patch-package

When using this library in React Native you must patch the `@helium/crypto` calls
with `@helium/crypto-react-native`. You can do this using [patch-package](https://github.com/ds300/patch-package)
by adding the following file to your React Native root at `/patches/@helium+wallet-link+4.6.0.patch`.
by adding the following file to your React Native root at `/patches/@helium+wallet-link+4.6.1.patch`.

```
diff --git a/node_modules/@helium/wallet-link/build/walletLink.js b/node_modules/@helium/wallet-link/build/walletLink.js
index 8583f31..18cc4dd 100644
index 5378554..de9d701 100644
--- a/node_modules/@helium/wallet-link/build/walletLink.js
+++ b/node_modules/@helium/wallet-link/build/walletLink.js
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
Expand All @@ -34,6 +34,7 @@ index 8583f31..18cc4dd 100644
const date_fns_1 = require("date-fns");
const types_1 = require("./types");
```

In your `package.json` add the following script to run the patch on postinstall:

```diff
Expand Down
6 changes: 3 additions & 3 deletions packages/wallet-link/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@helium/wallet-link",
"version": "4.6.0",
"version": "4.6.1",
"description": "Utilities for linking a 3rd party app to the helium wallet.",
"keywords": [
"helium",
Expand All @@ -27,14 +27,14 @@
},
"dependencies": {
"@helium/address": "^4.3.1",
"@helium/transactions": "^4.6.0",
"@helium/transactions": "^4.6.1",
"date-fns": "^2.28.0",
"query-string": "^7.1.1"
},
"peerDependencies": {
"@helium/crypto": "^4.3.1"
},
"devDependencies": {
"@helium/crypto": "^4.6.0"
"@helium/crypto": "^4.6.1"
}
}

0 comments on commit b5c5709

Please sign in to comment.