juno-network 0.1.9 → 0.2.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.
package/README.md
CHANGED
@@ -33,7 +33,7 @@ const main = async () => {
|
|
33
33
|
|
34
34
|
### JunoSwap contracts
|
35
35
|
|
36
|
-
|
36
|
+
#### clients
|
37
37
|
|
38
38
|
```js
|
39
39
|
import { contracts } from 'juno-network';
|
@@ -45,7 +45,7 @@ const {
|
|
45
45
|
} = contracts;
|
46
46
|
```
|
47
47
|
|
48
|
-
|
48
|
+
#### Queries
|
49
49
|
|
50
50
|
```js
|
51
51
|
const queries = new JunoSwapQueryClient(
|
@@ -56,7 +56,7 @@ const amount = await queries.token1ForToken2Price({
|
|
56
56
|
token1Amount
|
57
57
|
});
|
58
58
|
```
|
59
|
-
|
59
|
+
#### Mutations
|
60
60
|
|
61
61
|
```js
|
62
62
|
const client = new JunoSwapClient(
|
@@ -132,7 +132,10 @@ const {
|
|
132
132
|
```
|
133
133
|
## Credits
|
134
134
|
|
135
|
+
Built by Cosmology — if you like our tools, please consider delegating to [our validator](https://www.mintscan.io/juno/validators/junovaloper1pr5qgj4jg47lvsnejtfvk78090shvuctgdwdm5)
|
136
|
+
|
135
137
|
Code built with the help of these related projects:
|
136
138
|
|
137
139
|
* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes
|
138
140
|
* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs.
|
141
|
+
|
@@ -30,7 +30,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
30
30
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
31
31
|
|
32
32
|
/**
|
33
|
-
* This file was automatically generated by @cosmwasm/ts-codegen@0.
|
33
|
+
* This file was automatically generated by @cosmwasm/ts-codegen@0.12.0.
|
34
34
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
35
35
|
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
|
36
36
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
2
2
|
|
3
3
|
/**
|
4
|
-
* This file was automatically generated by @cosmwasm/ts-codegen@0.
|
4
|
+
* This file was automatically generated by @cosmwasm/ts-codegen@0.12.0.
|
5
5
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
6
6
|
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
|
7
7
|
*/
|
@@ -5,7 +5,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
5
5
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
6
6
|
|
7
7
|
/**
|
8
|
-
* This file was automatically generated by @cosmwasm/ts-codegen@0.
|
8
|
+
* This file was automatically generated by @cosmwasm/ts-codegen@0.12.0.
|
9
9
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
10
10
|
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
|
11
11
|
*/
|
@@ -5,7 +5,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
5
5
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
6
6
|
|
7
7
|
/**
|
8
|
-
* This file was automatically generated by @cosmwasm/ts-codegen@0.
|
8
|
+
* This file was automatically generated by @cosmwasm/ts-codegen@0.12.0.
|
9
9
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
10
10
|
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
|
11
11
|
*/
|
package/module/codegen/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.
|
2
|
+
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.14.2
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
4
4
|
* and run the transpile command or yarn proto command to regenerate this bundle.
|
5
5
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "juno-network",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.2.0",
|
4
4
|
"description": "juno",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
6
|
"homepage": "https://github.com/CosmosContracts/typescript#readme",
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"@babel/plugin-transform-runtime": "7.18.10",
|
58
58
|
"@babel/preset-env": "7.18.10",
|
59
59
|
"@babel/preset-typescript": "^7.18.6",
|
60
|
-
"@osmonauts/telescope": "^0.
|
60
|
+
"@osmonauts/telescope": "^0.14.2",
|
61
61
|
"@protobufs/cosmos": "^0.0.11",
|
62
62
|
"@protobufs/cosmwasm": "^0.0.11",
|
63
63
|
"@protobufs/ibc": "^0.0.11",
|
@@ -90,5 +90,5 @@
|
|
90
90
|
"@tanstack/react-query": "^4.1.3",
|
91
91
|
"protobufjs": "^6.11.2"
|
92
92
|
},
|
93
|
-
"gitHead": "
|
93
|
+
"gitHead": "a7ff58dc2fc53644009b4ba8c012da6cda0bfab0"
|
94
94
|
}
|