@meteora-ag/cp-amm-sdk 1.0.1-rc.4 → 1.0.1-rc.5
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -6391,7 +6391,7 @@ type PermanentLockParams = {
|
|
|
6391
6391
|
|
|
6392
6392
|
declare class CpAmm {
|
|
6393
6393
|
_program: AmmProgram;
|
|
6394
|
-
constructor(connection: Connection
|
|
6394
|
+
constructor(connection: Connection);
|
|
6395
6395
|
getProgram(): AmmProgram;
|
|
6396
6396
|
/**
|
|
6397
6397
|
Prepares token ordering, calculates the initial sqrtPrice in Q64 format,
|
package/dist/index.d.ts
CHANGED
|
@@ -6391,7 +6391,7 @@ type PermanentLockParams = {
|
|
|
6391
6391
|
|
|
6392
6392
|
declare class CpAmm {
|
|
6393
6393
|
_program: AmmProgram;
|
|
6394
|
-
constructor(connection: Connection
|
|
6394
|
+
constructor(connection: Connection);
|
|
6395
6395
|
getProgram(): AmmProgram;
|
|
6396
6396
|
/**
|
|
6397
6397
|
Prepares token ordering, calculates the initial sqrtPrice in Q64 format,
|
package/dist/index.js
CHANGED
|
@@ -6804,7 +6804,7 @@ var getPriceImpact = (amount, amountWithoutSlippage) => {
|
|
|
6804
6804
|
|
|
6805
6805
|
// src/CpAmm.ts
|
|
6806
6806
|
var CpAmm = class {
|
|
6807
|
-
constructor(connection
|
|
6807
|
+
constructor(connection) {
|
|
6808
6808
|
const provider = new (0, _anchor.AnchorProvider)(connection, {}, _anchor.AnchorProvider.defaultOptions());
|
|
6809
6809
|
this._program = new (0, _anchor.Program)(cp_amm_default, provider);
|
|
6810
6810
|
}
|