kit-squared 0.0.1 → 0.0.3
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 +1 -2
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ This program helper has methods that make it easy to
|
|
|
68
68
|
|
|
69
69
|
_example:_
|
|
70
70
|
```typescript
|
|
71
|
-
//Create the helper
|
|
71
|
+
// Create the helper
|
|
72
72
|
const myProgram = createProgram(yourProgramClient, yourIdl, signerFromConnectedWallet);
|
|
73
73
|
|
|
74
74
|
// Send a myFunction tx
|
|
@@ -77,7 +77,6 @@ await myProgram.tx.myFunction(somePara, someOtherParam);
|
|
|
77
77
|
// Build a myFunction ix for sending later
|
|
78
78
|
const ix = await myProgram.ix.myFunction(somePara, someOtherParam);
|
|
79
79
|
|
|
80
|
-
|
|
81
80
|
// Subscribe to an event called someEvent
|
|
82
81
|
myProgram.on('someEvent', (eventData, slotNumber, signature) => {
|
|
83
82
|
const {someParam, someOtherParam} = eventData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kit-squared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Solana Kit functionality with SvelteKit",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "AnAllergyToAnalogy",
|
|
@@ -30,7 +30,12 @@
|
|
|
30
30
|
".": {
|
|
31
31
|
"types": "./dist/index.d.ts",
|
|
32
32
|
"svelte": "./dist/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./WalletSelection.svelte": {
|
|
35
|
+
"types": "./dist/WalletSelection.svelte.d.ts",
|
|
36
|
+
"svelte": "./dist/WalletSelection.svelte"
|
|
33
37
|
}
|
|
38
|
+
|
|
34
39
|
},
|
|
35
40
|
"peerDependencies": {
|
|
36
41
|
"svelte": "^5.0.0"
|