@sentio/sdk 2.40.0-rc.38 → 2.40.0-rc.39
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/lib/tsup.config.ts +3 -1
- package/package.json +3 -3
- package/src/bundle.config.ts +2 -1
- package/src/tsup.config.ts +3 -1
package/lib/tsup.config.ts
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
import { defineConfig } from 'tsup'
|
2
2
|
|
3
|
+
export const external = ['@project-serum/anchor', /^@sentio\/(sdk|runtime|ethers).*$/, 'graphql']
|
4
|
+
|
3
5
|
export default defineConfig({
|
4
6
|
esbuildOptions: (options) => {
|
5
7
|
options.banner = {
|
@@ -18,5 +20,5 @@ export default defineConfig({
|
|
18
20
|
// },
|
19
21
|
publicDir: '../abis',
|
20
22
|
splitting: false,
|
21
|
-
external
|
23
|
+
external
|
22
24
|
})
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sentio/sdk",
|
3
|
-
"version": "2.40.0-rc.
|
3
|
+
"version": "2.40.0-rc.39",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -82,8 +82,8 @@
|
|
82
82
|
"typechain": "^8.3.2",
|
83
83
|
"utility-types": "^3.11.0",
|
84
84
|
"yaml": "^2.3.4",
|
85
|
-
"@sentio/
|
86
|
-
"@sentio/
|
85
|
+
"@sentio/protos": "2.40.0-rc.39",
|
86
|
+
"@sentio/runtime": "^2.40.0-rc.39"
|
87
87
|
},
|
88
88
|
"peerDependencies": {
|
89
89
|
"tsup": "npm:@sentio/tsup@^6.7.2"
|
package/src/bundle.config.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { defineConfig } from 'tsup'
|
2
2
|
import packageJson from '../package.json'
|
3
|
+
import { external } from './tsup.config.js'
|
3
4
|
|
4
5
|
const entry = Object.values(packageJson.exports).map((p) => p.replace('lib', 'src').replace('.js', '.ts'))
|
5
6
|
|
@@ -18,5 +19,5 @@ export default defineConfig({
|
|
18
19
|
// dts: true,
|
19
20
|
format: 'esm',
|
20
21
|
// keepNames: true,
|
21
|
-
external
|
22
|
+
external
|
22
23
|
})
|
package/src/tsup.config.ts
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
import { defineConfig } from 'tsup'
|
2
2
|
|
3
|
+
export const external = ['@project-serum/anchor', /^@sentio\/(sdk|runtime|ethers).*$/, 'graphql']
|
4
|
+
|
3
5
|
export default defineConfig({
|
4
6
|
esbuildOptions: (options) => {
|
5
7
|
options.banner = {
|
@@ -18,5 +20,5 @@ export default defineConfig({
|
|
18
20
|
// },
|
19
21
|
publicDir: '../abis',
|
20
22
|
splitting: false,
|
21
|
-
external
|
23
|
+
external
|
22
24
|
})
|