Fix a bug where building a package that includes @orca-so/whirlpools
using tsc
fails
#551
Annotations
8 errors
build
Process completed with exit code 1.
|
lint
Process completed with exit code 1.
|
test
Cannot find module '../dist/nodejs/orca_whirlpools_core_js_bindings' or its corresponding type declarations.
|
test
Cannot find module '../dist/nodejs/orca_whirlpools_core_js_bindings' or its corresponding type declarations.
|
test
Cannot find module '../dist/nodejs/orca_whirlpools_core_js_bindings' or its corresponding type declarations.
|
tests/e2e.test.ts > e2e > Splash pool:
ts-sdk/core/dist/orca_whirlpools_core_js_bindings.js#L667
TypeError: Cannot read properties of undefined (reading 'priceToSqrtPrice')
❯ Module.priceToSqrtPrice ../core/dist/orca_whirlpools_core_js_bindings.js:667:22
❯ createConcentratedLiquidityPoolInstructions src/createPool.ts:158:28
❯ testInitSplashPool tests/e2e.test.ts:100:7
❯ tests/e2e.test.ts:357:25
|
tests/e2e.test.ts > e2e > Concentrated liquidity pool:
ts-sdk/core/dist/orca_whirlpools_core_js_bindings.js#L667
TypeError: Cannot read properties of undefined (reading 'priceToSqrtPrice')
❯ Module.priceToSqrtPrice ../core/dist/orca_whirlpools_core_js_bindings.js:667:22
❯ Module.createConcentratedLiquidityPoolInstructions src/createPool.ts:158:28
❯ testInitConcentratedLiquidityPool tests/e2e.test.ts:113:7
❯ tests/e2e.test.ts:370:25
|
test
Process completed with exit code 1.
|