@solana-mobile/wallet-standard-mobile 0.5.0-beta1 → 0.5.0

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.
@@ -722,7 +722,7 @@ class LoopbackPermissionBlockedModal extends EmbeddedModal {
722
722
  const instructions = getIsPwaLaunchedAsApp()
723
723
  ? 'Long press the app icon on your home screen to open site settings'
724
724
  : 'Tap the lock or settings icon in the address bar to open site settings';
725
- return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTIONS}}', instructions);
725
+ return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTION_DETAIL}}', instructions);
726
726
  }
727
727
  async init() {
728
728
  super.init();
package/lib/cjs/index.js CHANGED
@@ -722,7 +722,7 @@ class LoopbackPermissionBlockedModal extends EmbeddedModal {
722
722
  const instructions = getIsPwaLaunchedAsApp()
723
723
  ? 'Long press the app icon on your home screen to open site settings'
724
724
  : 'Tap the lock or settings icon in the address bar to open site settings';
725
- return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTIONS}}', instructions);
725
+ return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTION_DETAIL}}', instructions);
726
726
  }
727
727
  async init() {
728
728
  super.init();
@@ -714,7 +714,7 @@ class LoopbackPermissionBlockedModal extends EmbeddedModal {
714
714
  const instructions = getIsPwaLaunchedAsApp()
715
715
  ? 'Long press the app icon on your home screen to open site settings'
716
716
  : 'Tap the lock or settings icon in the address bar to open site settings';
717
- return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTIONS}}', instructions);
717
+ return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTION_DETAIL}}', instructions);
718
718
  }
719
719
  async init() {
720
720
  super.init();
@@ -720,7 +720,7 @@ class LoopbackPermissionBlockedModal extends EmbeddedModal {
720
720
  const instructions = getIsPwaLaunchedAsApp()
721
721
  ? 'Long press the app icon on your home screen to open site settings'
722
722
  : 'Tap the lock or settings icon in the address bar to open site settings';
723
- return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTIONS}}', instructions);
723
+ return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTION_DETAIL}}', instructions);
724
724
  }
725
725
  async init() {
726
726
  super.init();
package/lib/esm/index.js CHANGED
@@ -720,7 +720,7 @@ class LoopbackPermissionBlockedModal extends EmbeddedModal {
720
720
  const instructions = getIsPwaLaunchedAsApp()
721
721
  ? 'Long press the app icon on your home screen to open site settings'
722
722
  : 'Tap the lock or settings icon in the address bar to open site settings';
723
- return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTIONS}}', instructions);
723
+ return ErrorDialogHtml$2.replace('{{PERMISSION_INSTRUCTION_DETAIL}}', instructions);
724
724
  }
725
725
  async init() {
726
726
  super.init();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solana-mobile/wallet-standard-mobile",
3
3
  "description": "A wallet-standard wallet for mobile wallet apps that conform to the Solana Mobile Wallet Adapter protocol",
4
- "version": "0.5.0-beta1",
4
+ "version": "0.5.0",
5
5
  "author": "Marco Martinez <marco.martinez@solana.com>",
6
6
  "repository": "https://github.com/solana-mobile/mobile-wallet-adapter",
7
7
  "license": "Apache-2.0",
@@ -52,16 +52,21 @@
52
52
  "js-base64": "^3.7.5",
53
53
  "qrcode": "^1.5.4",
54
54
  "tslib": "^2.8.1",
55
- "@solana-mobile/mobile-wallet-adapter-protocol": "^2.2.5"
55
+ "@solana-mobile/mobile-wallet-adapter-protocol": "^2.2.6"
56
56
  },
57
57
  "optionalDependencies": {
58
58
  "@react-native-async-storage/async-storage": "^1.17.7"
59
59
  },
60
+ "devDependencies": {
61
+ "@types/qrcode": "^1.5.5",
62
+ "agadoo": "^3.0.0",
63
+ "cross-env": "^10.1.0",
64
+ "shx": "^0.4.0"
65
+ },
60
66
  "scripts": {
61
67
  "clean": "shx rm -rf lib/*",
62
68
  "build": "pnpm clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts",
63
69
  "build:watch": "pnpm clean && rollup --config ../../rollup.config.ts --configPlugin rollup-plugin-ts --watch",
64
- "postbuild": "cross-env echo {\\\"type\\\":\\\"commonjs\\\"} | npx json > lib/cjs/package.json && echo {\\\"type\\\":\\\"module\\\"} | npx json > lib/esm/package.json",
65
- "package-publish": "pnpm pkg delete devDependencies && pnpm changeset publish --access public --no-git-checks"
70
+ "postbuild": "cross-env echo {\\\"type\\\":\\\"commonjs\\\"} | npx json > lib/cjs/package.json && echo {\\\"type\\\":\\\"module\\\"} | npx json > lib/esm/package.json"
66
71
  }
67
72
  }