Skip to content

Commit

Permalink
Merge pull request #7 from leapwallet/abstract-osmojs-stride-package
Browse files Browse the repository at this point in the history
abstract osmojs and stride package
  • Loading branch information
baryon2 authored Sep 27, 2024
2 parents 5184554 + dc9a950 commit a0369a5
Show file tree
Hide file tree
Showing 206 changed files with 149,259 additions and 605 deletions.
12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@leapwallet/buffer-boba",
"description": "Buffer Boba is a library for decoding protocol buffers in the cosmos ecosystem.",
"version": "0.1.8",
"version": "0.1.9",
"repository": "https://github.com/leapwallet/buffer-boba",
"author": "Leap Wallet",
"license": "MIT",
Expand Down Expand Up @@ -50,16 +50,12 @@
"base64js": "1.0.1",
"cosmjs-types": "0.9.0",
"long": "5.2.0",
"osmojs": "16.5.1",
"protobufjs": "7.2.5",
"stridejs": "0.6.2"
"protobufjs": "7.2.5"
},
"peerDependencies": {
"@cosmjs/proto-signing": "0.31.x",
"osmojs": "16.5.x",
"protobufjs": "7.2.x",
"stridejs": "0.6.2",
"long": "5.2.x"
"long": "5.2.x",
"protobufjs": "7.2.x"
},
"resolutions": {
"long": "5.2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { GeneratedType } from '@cosmjs/proto-signing'
import { Writer, Reader } from 'protobufjs'
import { Registry } from './registry'
import { convertToProtoFactory } from './util'
import { Any } from 'osmojs/dist/codegen/google/protobuf/any'
import { Any } from './proto/google/protobuf/any'

export type AnyWithUnpacked =
| Any
Expand Down
4 changes: 2 additions & 2 deletions src/decoder.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DirectSignDocDecoder } from './decoder'
import Long from 'long'
import { cosmos, cosmwasm } from 'osmojs'
import { stride } from 'stridejs'
import { cosmos, cosmwasm } from './proto/osmojs'
import { stride } from './proto/stridejs'
import { assert, describe, expect, it } from 'vitest'

const createSendSignDoc = () => {
Expand Down
4 changes: 2 additions & 2 deletions src/msg-converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {
osmosisAminoConverters,
ibcAminoConverters,
cosmwasmAminoConverters
} from 'osmojs'
import { strideAminoConverters } from 'stridejs'
} from './proto/osmojs'
import { strideAminoConverters } from './proto/stridejs'

import type { AminoConverters } from './supported-modules'

Expand Down
Loading

0 comments on commit a0369a5

Please sign in to comment.