@orca-so/whirlpools-automation 0.5.0 → 0.6.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.
@@ -80,7 +80,10 @@ export declare function isWhirlpoolsAutomationProgramError<
80
80
  }
81
81
  >;
82
82
  },
83
- code?: TProgramErrorCode
83
+ code?: TProgramErrorCode,
84
+ config?: {
85
+ programAddress?: Address;
86
+ }
84
87
  ): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> &
85
88
  Readonly<{
86
89
  context: Readonly<{
@@ -9,7 +9,7 @@ import {
9
9
  ParsedUpdateGlobalConfigInstruction,
10
10
  } from '../instructions';
11
11
 
12
- export declare const WHIRLPOOLS_AUTOMATION_PROGRAM_PROGRAM_ADDRESS: Address<'wpAutoU2kNC95CB9SzvSRmhC52ncPabVY225e3pfQA8'>;
12
+ export declare const WHIRLPOOLS_AUTOMATION_PROGRAM_PROGRAM_ADDRESS: Address<'J5YZi2SoRbaAFcMJWcvkQRUgpB3YdMHJ4AEKhEV6ED7x'>;
13
13
  export declare enum WhirlpoolsAutomationProgramAccount {
14
14
  Automation = 0,
15
15
  GlobalConfig = 1,
@@ -31,7 +31,7 @@ export declare function identifyWhirlpoolsAutomationProgramInstruction(
31
31
  | ReadonlyUint8Array
32
32
  ): WhirlpoolsAutomationProgramInstruction;
33
33
  export type ParsedWhirlpoolsAutomationProgramInstruction<
34
- TProgram extends string = 'wpAutoU2kNC95CB9SzvSRmhC52ncPabVY225e3pfQA8',
34
+ TProgram extends string = 'J5YZi2SoRbaAFcMJWcvkQRUgpB3YdMHJ4AEKhEV6ED7x',
35
35
  > =
36
36
  | ({
37
37
  instructionType: WhirlpoolsAutomationProgramInstruction.InitializeGlobalConfig;