@aptos-labs/wallet-adapter-core 6.0.0 → 7.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"sdkWallets.d.ts","sourceRoot":"","sources":["../src/sdkWallets.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEzD,wBAAgB,aAAa,CAAC,UAAU,CAAC,EAAE,UAAU,mBAkCpD"}
1
+ {"version":3,"file":"sdkWallets.d.ts","sourceRoot":"","sources":["../src/sdkWallets.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEzD,wBAAgB,aAAa,CAAC,UAAU,CAAC,EAAE,UAAU,mBAuBpD"}
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const WALLET_ADAPTER_CORE_VERSION = "6.0.0";
1
+ export declare const WALLET_ADAPTER_CORE_VERSION = "7.0.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-labs/wallet-adapter-core",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "description": "Aptos Wallet Adapter Core",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -40,15 +40,14 @@
40
40
  "@aptos-labs/wallet-adapter-tsconfig": "0.0.2"
41
41
  },
42
42
  "dependencies": {
43
- "@aptos-connect/wallet-adapter-plugin": "2.5.0",
44
- "@aptos-labs/wallet-standard": "^0.5.0",
45
- "@msafe/aptos-aip62-wallet": "^1.0.18",
43
+ "@aptos-connect/wallet-adapter-plugin": "2.5.1",
44
+ "@aptos-labs/wallet-standard": "^0.5.1",
46
45
  "buffer": "^6.0.3",
47
46
  "eventemitter3": "^4.0.7",
48
47
  "tweetnacl": "^1.0.3"
49
48
  },
50
49
  "peerDependencies": {
51
- "@aptos-labs/ts-sdk": "^3.1.1"
50
+ "@aptos-labs/ts-sdk": "^3.1.3"
52
51
  },
53
52
  "files": [
54
53
  "dist",
package/src/sdkWallets.ts CHANGED
@@ -2,8 +2,6 @@ import {
2
2
  AptosConnectAppleWallet,
3
3
  AptosConnectGoogleWallet,
4
4
  } from "@aptos-connect/wallet-adapter-plugin";
5
- import { Network } from "@aptos-labs/ts-sdk";
6
- import { inMSafeWallet, MSafeWallet } from "@msafe/aptos-aip62-wallet";
7
5
  import { DappConfig, AdapterWallet } from "./WalletCore";
8
6
 
9
7
  export function getSDKWallets(dappConfig?: DappConfig) {
@@ -25,17 +23,6 @@ export function getSDKWallets(dappConfig?: DappConfig) {
25
23
  );
26
24
  }
27
25
 
28
- // MSafe only works if the dapp is open within the MSafe App store
29
- // https://doc.m-safe.io/aptos/developers/integrate-with-msafe-dapp/faq
30
- if (dappConfig?.msafeWalletConfig && dappConfig.network && inMSafeWallet()) {
31
- sdkWallets.push(
32
- new MSafeWallet({
33
- ...dappConfig?.msafeWalletConfig,
34
- network: dappConfig.network,
35
- })
36
- );
37
- }
38
-
39
26
  // Add new SDK wallet plugins (ones that should be installed as packages) here:
40
27
  // Ex. sdkWallets.push(new YourSDKWallet(dappConfig))
41
28
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const WALLET_ADAPTER_CORE_VERSION = "6.0.0";
1
+ export const WALLET_ADAPTER_CORE_VERSION = "7.0.0";