- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
83 lines
2.5 KiB
JSON
83 lines
2.5 KiB
JSON
{
|
|
"name": "@solana-mobile/mobile-wallet-adapter-protocol",
|
|
"description": "An implementation of the Solana Mobile Mobile Wallet Adapter protocol. Use this to open a session with a mobile wallet app, and to issue API calls to it.",
|
|
"version": "2.2.8",
|
|
"author": "Steven Luscher <steven.luscher@solanamobile.com>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/solana-mobile/mobile-wallet-adapter.git"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"exports": {
|
|
"edge-light": {
|
|
"import": "./lib/esm/index.js",
|
|
"require": "./lib/cjs/index.js"
|
|
},
|
|
"workerd": {
|
|
"import": "./lib/esm/index.js",
|
|
"require": "./lib/cjs/index.js"
|
|
},
|
|
"browser": {
|
|
"import": "./lib/esm/index.browser.js",
|
|
"require": "./lib/cjs/index.browser.js"
|
|
},
|
|
"node": {
|
|
"import": "./lib/esm/index.js",
|
|
"require": "./lib/cjs/index.js"
|
|
},
|
|
"react-native": "./lib/cjs/index.native.js",
|
|
"types": "./lib/types/index.d.ts"
|
|
},
|
|
"browser": {
|
|
"./lib/cjs/index.js": "./lib/cjs/index.browser.js",
|
|
"./lib/esm/index.js": "./lib/esm/index.browser.js"
|
|
},
|
|
"main": "lib/cjs/index.js",
|
|
"module": "lib/esm/index.js",
|
|
"react-native": "lib/cjs/index.native.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"type": "module",
|
|
"files": [
|
|
"android",
|
|
"src/codegenSpec",
|
|
"!android/build",
|
|
"lib",
|
|
"LICENSE"
|
|
],
|
|
"sideEffects": false,
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"dependencies": {
|
|
"@solana/codecs-strings": "^6.0.0",
|
|
"@solana/wallet-standard-features": "^1.3.0",
|
|
"@solana/wallet-standard-util": "^1.1.2",
|
|
"@wallet-standard/core": "^1.1.1",
|
|
"js-base64": "^3.7.5"
|
|
},
|
|
"devDependencies": {
|
|
"@solana/web3.js": "^1.98.4",
|
|
"@types/react-native": "^0.69.3",
|
|
"agadoo": "^3.0.0",
|
|
"cross-env": "^10.1.0",
|
|
"shx": "^0.4.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react-native": ">0.74"
|
|
},
|
|
"codegenConfig": {
|
|
"name": "SolanaMobileWalletAdapter",
|
|
"type": "all",
|
|
"jsSrcsDir": "./src/codegenSpec",
|
|
"android": {
|
|
"javaPackageName": "com.solanamobile.mobilewalletadapter.reactnative"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"clean": "shx rm -rf lib/*",
|
|
"build": "pnpm clean && tsdown --config ../../tsdown.config.ts",
|
|
"build:watch": "pnpm clean && tsdown --config ../../tsdown.config.ts --watch",
|
|
"check-types": "tsc -p tsconfig.json --noEmit",
|
|
"postbuild": "printf '%s' '{\"type\":\"commonjs\"}' > lib/cjs/package.json && printf '%s' '{\"type\":\"module\"}' > lib/esm/package.json"
|
|
}
|
|
} |