@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.
@@ -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: [/^@sentio\/(sdk|runtime).*$/]
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.38",
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/runtime": "^2.40.0-rc.38",
86
- "@sentio/protos": "2.40.0-rc.38"
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"
@@ -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: ['@project-serum/anchor', /^@sentio\/(runtime).*$/, 'graphql']
22
+ external
22
23
  })
@@ -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: [/^@sentio\/(sdk|runtime).*$/]
23
+ external
22
24
  })