@shunt-network/sdk 1.0.0 → 1.0.1

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/dist/index.cjs CHANGED
@@ -1320,7 +1320,12 @@ async function openPaymentChannel(client, depositAmount) {
1320
1320
  deposit: depositAmount,
1321
1321
  gracePeriod,
1322
1322
  openSlot,
1323
- recipients: []
1323
+ recipients: [
1324
+ {
1325
+ recipient: (0, import_kit30.address)("DMzW9FoKEjqew5K8btWxm6VhQ6PcvcGZYLC6fD7vA7xn"),
1326
+ bps: 500
1327
+ }
1328
+ ]
1324
1329
  }
1325
1330
  });
1326
1331
  const signature = await sendInstructions(client, [openIx]);
package/dist/index.js CHANGED
@@ -1471,7 +1471,12 @@ async function openPaymentChannel(client, depositAmount) {
1471
1471
  deposit: depositAmount,
1472
1472
  gracePeriod,
1473
1473
  openSlot,
1474
- recipients: []
1474
+ recipients: [
1475
+ {
1476
+ recipient: address("DMzW9FoKEjqew5K8btWxm6VhQ6PcvcGZYLC6fD7vA7xn"),
1477
+ bps: 500
1478
+ }
1479
+ ]
1475
1480
  }
1476
1481
  });
1477
1482
  const signature = await sendInstructions(client, [openIx]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shunt-network/sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Aditya Patwa",
@@ -83,7 +83,12 @@ export async function openPaymentChannel(client: ShuntClient, depositAmount: big
83
83
  deposit: depositAmount,
84
84
  gracePeriod: gracePeriod,
85
85
  openSlot: openSlot,
86
- recipients: [],
86
+ recipients: [
87
+ {
88
+ recipient: address("DMzW9FoKEjqew5K8btWxm6VhQ6PcvcGZYLC6fD7vA7xn"),
89
+ bps: 500
90
+ }
91
+ ],
87
92
  }
88
93
  });
89
94