@satrush/client 0.1.8 → 0.1.10

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.d.mts CHANGED
@@ -1433,8 +1433,8 @@ type SatrushConfig = {
1433
1433
  ownerAuthority: Address;
1434
1434
  /** Current update authority address for both Config and other PDAs - can be updated. */
1435
1435
  adminAuthority: Address;
1436
- /** Address of the authority controlling the round flow. */
1437
- roundAuthority: Address;
1436
+ /** Address of the authority controlling the game flow. */
1437
+ gameAuthority: Address;
1438
1438
  /** Protocol fees recipient address. */
1439
1439
  feeRecipient: Address;
1440
1440
  /** USD mint address, initially USDC */
@@ -1486,8 +1486,8 @@ type SatrushConfigArgs = {
1486
1486
  ownerAuthority: Address;
1487
1487
  /** Current update authority address for both Config and other PDAs - can be updated. */
1488
1488
  adminAuthority: Address;
1489
- /** Address of the authority controlling the round flow. */
1490
- roundAuthority: Address;
1489
+ /** Address of the authority controlling the game flow. */
1490
+ gameAuthority: Address;
1491
1491
  /** Protocol fees recipient address. */
1492
1492
  feeRecipient: Address;
1493
1493
  /** USD mint address, initially USDC */
@@ -3602,7 +3602,7 @@ type CreateSatrushConfigInstructionData = {
3602
3602
  discriminator: ReadonlyUint8Array;
3603
3603
  ownerAuthority: Address;
3604
3604
  adminAuthority: Address;
3605
- roundAuthority: Address;
3605
+ gameAuthority: Address;
3606
3606
  feeRecipient: Address;
3607
3607
  usdMint: Address;
3608
3608
  btcMint: Address;
@@ -3610,7 +3610,7 @@ type CreateSatrushConfigInstructionData = {
3610
3610
  type CreateSatrushConfigInstructionDataArgs = {
3611
3611
  ownerAuthority: Address;
3612
3612
  adminAuthority: Address;
3613
- roundAuthority: Address;
3613
+ gameAuthority: Address;
3614
3614
  feeRecipient: Address;
3615
3615
  usdMint: Address;
3616
3616
  btcMint: Address;
@@ -3624,7 +3624,7 @@ type CreateSatrushConfigAsyncInput<TAccountAuthority extends string = string, TA
3624
3624
  systemProgram?: Address<TAccountSystemProgram>;
3625
3625
  ownerAuthority: CreateSatrushConfigInstructionDataArgs['ownerAuthority'];
3626
3626
  adminAuthority: CreateSatrushConfigInstructionDataArgs['adminAuthority'];
3627
- roundAuthority: CreateSatrushConfigInstructionDataArgs['roundAuthority'];
3627
+ gameAuthority: CreateSatrushConfigInstructionDataArgs['gameAuthority'];
3628
3628
  feeRecipient: CreateSatrushConfigInstructionDataArgs['feeRecipient'];
3629
3629
  usdMint: CreateSatrushConfigInstructionDataArgs['usdMint'];
3630
3630
  btcMint: CreateSatrushConfigInstructionDataArgs['btcMint'];
@@ -3638,7 +3638,7 @@ type CreateSatrushConfigInput<TAccountAuthority extends string = string, TAccoun
3638
3638
  systemProgram?: Address<TAccountSystemProgram>;
3639
3639
  ownerAuthority: CreateSatrushConfigInstructionDataArgs['ownerAuthority'];
3640
3640
  adminAuthority: CreateSatrushConfigInstructionDataArgs['adminAuthority'];
3641
- roundAuthority: CreateSatrushConfigInstructionDataArgs['roundAuthority'];
3641
+ gameAuthority: CreateSatrushConfigInstructionDataArgs['gameAuthority'];
3642
3642
  feeRecipient: CreateSatrushConfigInstructionDataArgs['feeRecipient'];
3643
3643
  usdMint: CreateSatrushConfigInstructionDataArgs['usdMint'];
3644
3644
  btcMint: CreateSatrushConfigInstructionDataArgs['btcMint'];
package/dist/index.d.ts CHANGED
@@ -1433,8 +1433,8 @@ type SatrushConfig = {
1433
1433
  ownerAuthority: Address;
1434
1434
  /** Current update authority address for both Config and other PDAs - can be updated. */
1435
1435
  adminAuthority: Address;
1436
- /** Address of the authority controlling the round flow. */
1437
- roundAuthority: Address;
1436
+ /** Address of the authority controlling the game flow. */
1437
+ gameAuthority: Address;
1438
1438
  /** Protocol fees recipient address. */
1439
1439
  feeRecipient: Address;
1440
1440
  /** USD mint address, initially USDC */
@@ -1486,8 +1486,8 @@ type SatrushConfigArgs = {
1486
1486
  ownerAuthority: Address;
1487
1487
  /** Current update authority address for both Config and other PDAs - can be updated. */
1488
1488
  adminAuthority: Address;
1489
- /** Address of the authority controlling the round flow. */
1490
- roundAuthority: Address;
1489
+ /** Address of the authority controlling the game flow. */
1490
+ gameAuthority: Address;
1491
1491
  /** Protocol fees recipient address. */
1492
1492
  feeRecipient: Address;
1493
1493
  /** USD mint address, initially USDC */
@@ -3602,7 +3602,7 @@ type CreateSatrushConfigInstructionData = {
3602
3602
  discriminator: ReadonlyUint8Array;
3603
3603
  ownerAuthority: Address;
3604
3604
  adminAuthority: Address;
3605
- roundAuthority: Address;
3605
+ gameAuthority: Address;
3606
3606
  feeRecipient: Address;
3607
3607
  usdMint: Address;
3608
3608
  btcMint: Address;
@@ -3610,7 +3610,7 @@ type CreateSatrushConfigInstructionData = {
3610
3610
  type CreateSatrushConfigInstructionDataArgs = {
3611
3611
  ownerAuthority: Address;
3612
3612
  adminAuthority: Address;
3613
- roundAuthority: Address;
3613
+ gameAuthority: Address;
3614
3614
  feeRecipient: Address;
3615
3615
  usdMint: Address;
3616
3616
  btcMint: Address;
@@ -3624,7 +3624,7 @@ type CreateSatrushConfigAsyncInput<TAccountAuthority extends string = string, TA
3624
3624
  systemProgram?: Address<TAccountSystemProgram>;
3625
3625
  ownerAuthority: CreateSatrushConfigInstructionDataArgs['ownerAuthority'];
3626
3626
  adminAuthority: CreateSatrushConfigInstructionDataArgs['adminAuthority'];
3627
- roundAuthority: CreateSatrushConfigInstructionDataArgs['roundAuthority'];
3627
+ gameAuthority: CreateSatrushConfigInstructionDataArgs['gameAuthority'];
3628
3628
  feeRecipient: CreateSatrushConfigInstructionDataArgs['feeRecipient'];
3629
3629
  usdMint: CreateSatrushConfigInstructionDataArgs['usdMint'];
3630
3630
  btcMint: CreateSatrushConfigInstructionDataArgs['btcMint'];
@@ -3638,7 +3638,7 @@ type CreateSatrushConfigInput<TAccountAuthority extends string = string, TAccoun
3638
3638
  systemProgram?: Address<TAccountSystemProgram>;
3639
3639
  ownerAuthority: CreateSatrushConfigInstructionDataArgs['ownerAuthority'];
3640
3640
  adminAuthority: CreateSatrushConfigInstructionDataArgs['adminAuthority'];
3641
- roundAuthority: CreateSatrushConfigInstructionDataArgs['roundAuthority'];
3641
+ gameAuthority: CreateSatrushConfigInstructionDataArgs['gameAuthority'];
3642
3642
  feeRecipient: CreateSatrushConfigInstructionDataArgs['feeRecipient'];
3643
3643
  usdMint: CreateSatrushConfigInstructionDataArgs['usdMint'];
3644
3644
  btcMint: CreateSatrushConfigInstructionDataArgs['btcMint'];
package/dist/index.js CHANGED
@@ -2270,7 +2270,7 @@ function getSatrushConfigEncoder() {
2270
2270
  ["bump", (0, import_kit30.getU8Encoder)()],
2271
2271
  ["ownerAuthority", (0, import_kit30.getAddressEncoder)()],
2272
2272
  ["adminAuthority", (0, import_kit30.getAddressEncoder)()],
2273
- ["roundAuthority", (0, import_kit30.getAddressEncoder)()],
2273
+ ["gameAuthority", (0, import_kit30.getAddressEncoder)()],
2274
2274
  ["feeRecipient", (0, import_kit30.getAddressEncoder)()],
2275
2275
  ["usdMint", (0, import_kit30.getAddressEncoder)()],
2276
2276
  ["btcMint", (0, import_kit30.getAddressEncoder)()],
@@ -2297,7 +2297,7 @@ function getSatrushConfigDecoder() {
2297
2297
  ["bump", (0, import_kit30.getU8Decoder)()],
2298
2298
  ["ownerAuthority", (0, import_kit30.getAddressDecoder)()],
2299
2299
  ["adminAuthority", (0, import_kit30.getAddressDecoder)()],
2300
- ["roundAuthority", (0, import_kit30.getAddressDecoder)()],
2300
+ ["gameAuthority", (0, import_kit30.getAddressDecoder)()],
2301
2301
  ["feeRecipient", (0, import_kit30.getAddressDecoder)()],
2302
2302
  ["usdMint", (0, import_kit30.getAddressDecoder)()],
2303
2303
  ["btcMint", (0, import_kit30.getAddressDecoder)()],
@@ -6693,7 +6693,7 @@ function getCreateSatrushConfigInstructionDataEncoder() {
6693
6693
  ["discriminator", (0, import_kit62.fixEncoderSize)((0, import_kit62.getBytesEncoder)(), 8)],
6694
6694
  ["ownerAuthority", (0, import_kit62.getAddressEncoder)()],
6695
6695
  ["adminAuthority", (0, import_kit62.getAddressEncoder)()],
6696
- ["roundAuthority", (0, import_kit62.getAddressEncoder)()],
6696
+ ["gameAuthority", (0, import_kit62.getAddressEncoder)()],
6697
6697
  ["feeRecipient", (0, import_kit62.getAddressEncoder)()],
6698
6698
  ["usdMint", (0, import_kit62.getAddressEncoder)()],
6699
6699
  ["btcMint", (0, import_kit62.getAddressEncoder)()]
@@ -6706,7 +6706,7 @@ function getCreateSatrushConfigInstructionDataDecoder() {
6706
6706
  ["discriminator", (0, import_kit62.fixDecoderSize)((0, import_kit62.getBytesDecoder)(), 8)],
6707
6707
  ["ownerAuthority", (0, import_kit62.getAddressDecoder)()],
6708
6708
  ["adminAuthority", (0, import_kit62.getAddressDecoder)()],
6709
- ["roundAuthority", (0, import_kit62.getAddressDecoder)()],
6709
+ ["gameAuthority", (0, import_kit62.getAddressDecoder)()],
6710
6710
  ["feeRecipient", (0, import_kit62.getAddressDecoder)()],
6711
6711
  ["usdMint", (0, import_kit62.getAddressDecoder)()],
6712
6712
  ["btcMint", (0, import_kit62.getAddressDecoder)()]
package/dist/index.mjs CHANGED
@@ -2116,7 +2116,7 @@ function getSatrushConfigEncoder() {
2116
2116
  ["bump", getU8Encoder14()],
2117
2117
  ["ownerAuthority", getAddressEncoder14()],
2118
2118
  ["adminAuthority", getAddressEncoder14()],
2119
- ["roundAuthority", getAddressEncoder14()],
2119
+ ["gameAuthority", getAddressEncoder14()],
2120
2120
  ["feeRecipient", getAddressEncoder14()],
2121
2121
  ["usdMint", getAddressEncoder14()],
2122
2122
  ["btcMint", getAddressEncoder14()],
@@ -2143,7 +2143,7 @@ function getSatrushConfigDecoder() {
2143
2143
  ["bump", getU8Decoder14()],
2144
2144
  ["ownerAuthority", getAddressDecoder14()],
2145
2145
  ["adminAuthority", getAddressDecoder14()],
2146
- ["roundAuthority", getAddressDecoder14()],
2146
+ ["gameAuthority", getAddressDecoder14()],
2147
2147
  ["feeRecipient", getAddressDecoder14()],
2148
2148
  ["usdMint", getAddressDecoder14()],
2149
2149
  ["btcMint", getAddressDecoder14()],
@@ -6917,7 +6917,7 @@ function getCreateSatrushConfigInstructionDataEncoder() {
6917
6917
  ["discriminator", fixEncoderSize43(getBytesEncoder55(), 8)],
6918
6918
  ["ownerAuthority", getAddressEncoder28()],
6919
6919
  ["adminAuthority", getAddressEncoder28()],
6920
- ["roundAuthority", getAddressEncoder28()],
6920
+ ["gameAuthority", getAddressEncoder28()],
6921
6921
  ["feeRecipient", getAddressEncoder28()],
6922
6922
  ["usdMint", getAddressEncoder28()],
6923
6923
  ["btcMint", getAddressEncoder28()]
@@ -6930,7 +6930,7 @@ function getCreateSatrushConfigInstructionDataDecoder() {
6930
6930
  ["discriminator", fixDecoderSize33(getBytesDecoder33(), 8)],
6931
6931
  ["ownerAuthority", getAddressDecoder15()],
6932
6932
  ["adminAuthority", getAddressDecoder15()],
6933
- ["roundAuthority", getAddressDecoder15()],
6933
+ ["gameAuthority", getAddressDecoder15()],
6934
6934
  ["feeRecipient", getAddressDecoder15()],
6935
6935
  ["usdMint", getAddressDecoder15()],
6936
6936
  ["btcMint", getAddressDecoder15()]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@satrush/client",
3
3
  "description": "Typescript client to interact with SatRush's on-chain program.",
4
- "version": "0.1.8",
4
+ "version": "0.1.10",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "main": "./dist/index.js",