flash-sdk 10.7.2 → 10.8.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/dist/OraclePrice.d.ts +0 -1
 - package/dist/OrderAccount.d.ts +0 -1
 - package/dist/PerpetualsClient.d.ts +0 -2
 - package/dist/PerpetualsClient.js +2 -3
 - package/dist/PoolAccount.d.ts +0 -1
 - package/dist/PoolConfig.json +986 -366
 - package/dist/PoolDataClient.d.ts +0 -1
 - package/dist/PositionAccount.d.ts +0 -1
 - package/dist/TokenStakeAccount.d.ts +0 -1
 - package/dist/TokenVaultAccount.d.ts +0 -1
 - package/dist/TradingAccount.d.ts +0 -1
 - package/dist/ViewHelper.js +2 -2
 - package/dist/backupOracle.js +4 -4
 - package/dist/constants/index.d.ts +0 -1
 - package/dist/idl/perpetuals.d.ts +310 -75
 - package/dist/idl/perpetuals.js +310 -75
 - package/dist/tsconfig.tsbuildinfo +1 -1
 - package/dist/types/index.d.ts +0 -1
 - package/dist/types/index.js +3 -3
 - package/dist/utils/IdlCoder.js +17 -7
 - package/dist/utils/alt.js +5 -6
 - package/dist/utils/anchorCpiEvents.d.ts +0 -1
 - package/dist/utils/anchorCpiEvents.js +4 -4
 - package/dist/utils/index.js +6 -6
 - package/dist/utils/rpc.js +9 -9
 - package/package.json +1 -1
 
    
        package/dist/OraclePrice.d.ts
    CHANGED
    
    
    
        package/dist/OrderAccount.d.ts
    CHANGED
    
    
| 
         @@ -1,5 +1,3 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            /// <reference types="bn.js" />
         
     | 
| 
       2 
     | 
    
         
            -
            /// <reference types="node" />
         
     | 
| 
       3 
1 
     | 
    
         
             
            import { Program, AnchorProvider, BN } from "@coral-xyz/anchor";
         
     | 
| 
       4 
2 
     | 
    
         
             
            import { PublicKey, TransactionInstruction, Commitment, Signer, AddressLookupTableAccount, VersionedTransaction } from "@solana/web3.js";
         
     | 
| 
       5 
3 
     | 
    
         
             
            import { PoolAccount } from "./PoolAccount";
         
     | 
    
        package/dist/PerpetualsClient.js
    CHANGED
    
    | 
         @@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge 
     | 
|
| 
       20 
20 
     | 
    
         
             
                });
         
     | 
| 
       21 
21 
     | 
    
         
             
            };
         
     | 
| 
       22 
22 
     | 
    
         
             
            var __generator = (this && this.__generator) || function (thisArg, body) {
         
     | 
| 
       23 
     | 
    
         
            -
                var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
         
     | 
| 
       24 
     | 
    
         
            -
                return g =  
     | 
| 
      
 23 
     | 
    
         
            +
                var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
         
     | 
| 
      
 24 
     | 
    
         
            +
                return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
         
     | 
| 
       25 
25 
     | 
    
         
             
                function verb(n) { return function (v) { return step([n, v]); }; }
         
     | 
| 
       26 
26 
     | 
    
         
             
                function step(op) {
         
     | 
| 
       27 
27 
     | 
    
         
             
                    if (f) throw new TypeError("Generator is already executing.");
         
     | 
| 
         @@ -7647,7 +7647,6 @@ var PerpetualsClient = (function () { 
     | 
|
| 
       7647 
7647 
     | 
    
         
             
                                            transferAuthority: poolConfig.transferAuthority,
         
     | 
| 
       7648 
7648 
     | 
    
         
             
                                            perpetuals: this.perpetuals.publicKey,
         
     | 
| 
       7649 
7649 
     | 
    
         
             
                                            pool: poolConfig.poolAddress,
         
     | 
| 
       7650 
     | 
    
         
            -
                                            custody: rewardCustodyConfig.custodyAccount,
         
     | 
| 
       7651 
7650 
     | 
    
         
             
                                            lpTokenMint: poolConfig.stakedLpTokenMint,
         
     | 
| 
       7652 
7651 
     | 
    
         
             
                                            compoundingVault: compoundingVault,
         
     | 
| 
       7653 
7652 
     | 
    
         
             
                                            compoundingTokenMint: compoundingTokenMint,
         
     | 
    
        package/dist/PoolAccount.d.ts
    CHANGED