Skip to content

Commit

Permalink
Merge pull request #52 from leapwallet/feature/add-exports
Browse files Browse the repository at this point in the history
Feature add Long exports
  • Loading branch information
leapsamvel authored Sep 12, 2023
2 parents 18804bc + 34ae901 commit bb63f73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/cosmos-snap-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leapwallet/cosmos-snap-provider",
"version": "0.1.17",
"version": "0.1.20",
"repository": {
"url": "[email protected]:leapwallet/cosmos-metamask-snap.git"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/cosmos-snap-provider/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { AminoMsg, Coin } from '@cosmjs/amino';
import Long from 'long';

export type GetSnapsResponse = Record<string, Snap>;

export type Snap = {
permissionName: string;
id: string;
version: string;
initialPermissions: Record<string, unknown>;
initialPermissions: Record<string, unknown>;
};

export type Bech32Config = {
Expand Down Expand Up @@ -94,3 +95,5 @@ export type StdSignDoc = {
readonly msgs: readonly AminoMsg[];
readonly memo: string;
};

export type ProviderLong = Long;
4 changes: 2 additions & 2 deletions packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.1.15",
"version": "0.1.16",
"description": "Securely manage keys, connect to Cosmos dapps, and sign transactions.",
"proposedName": "Leap Cosmos Wallet",
"repository": {
"type": "git",
"url": "https://github.com/leapwallet/cosmos-metamask-snap.git"
},
"source": {
"shasum": "fUhRUQU8XoAzYlPYNzQJA3VyetaHdPjaX9uxVGT161w=",
"shasum": "diCk3Ht/3Fhbn089viNkY9N6dr41wCMm1KR0wJhLzm0=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down

0 comments on commit bb63f73

Please sign in to comment.