@subql/node-stellar 4.1.2-0 → 4.2.1-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.
@@ -44,7 +44,7 @@ const node_core_1 = require("@subql/node-core");
44
44
  const configure_module_1 = require("./configure/configure.module");
45
45
  const fetch_module_1 = require("./indexer/fetch.module");
46
46
  // TODO, Alternative approach, ERROR Uncaught Exception Error: Package subpath './package.json' is not defined by "exports" in xxxxx/node_modules/stellar-sdk/package.json
47
- const packageJsonPath = path_1.default.resolve(require.resolve('stellar-sdk'), '../../package.json');
47
+ const packageJsonPath = path_1.default.resolve(require.resolve('@stellar/stellar-sdk'), '../../package.json');
48
48
  const { version: stellarSdkVersion } = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
49
49
  // eslint-disable-next-line @typescript-eslint/no-var-requires
50
50
  const { version: packageVersion } = require('../package.json');
@@ -61,7 +61,7 @@ AppModule = __decorate([
61
61
  fetch_module_1.FetchModule,
62
62
  node_core_1.MetaModule.forRoot({
63
63
  version: packageVersion,
64
- sdkVersion: { name: 'stellar-sdk', version: stellarSdkVersion },
64
+ sdkVersion: { name: '@stellar/stellar-sdk', version: stellarSdkVersion },
65
65
  }),
66
66
  ],
67
67
  controllers: [],
@@ -1 +1 @@
1
- {"version":3,"file":"app.module.js","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEnC,uCAAyB;AACzB,gDAAwB;AACxB,2CAAwC;AACxC,yDAA2D;AAC3D,+CAAkD;AAClD,gDAAoE;AACpE,mEAA+D;AAC/D,yDAAqD;AAErD,0KAA0K;AAC1K,MAAM,eAAe,GAAG,cAAI,CAAC,OAAO,CAClC,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,EAC9B,oBAAoB,CACrB,CAAC;AACF,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC,KAAK,CAC/C,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CACzC,CAAC;AACF,8DAA8D;AAC9D,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAiBxD,IAAM,SAAS,GAAf,MAAM,SAAS;CAAG,CAAA;AAAZ,SAAS;IAfrB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,oBAAQ,CAAC,OAAO,EAAE;YAClB,kCAAkB,CAAC,OAAO,EAAE;YAC5B,kCAAe,CAAC,QAAQ,EAAE;YAC1B,yBAAc,CAAC,OAAO,EAAE;YACxB,sBAAU;YACV,0BAAW;YACX,sBAAU,CAAC,OAAO,CAAC;gBACjB,OAAO,EAAE,cAAc;gBACvB,UAAU,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,iBAAiB,EAAE;aAChE,CAAC;SACH;QACD,WAAW,EAAE,EAAE;KAChB,CAAC;GACW,SAAS,CAAG;AAAZ,8BAAS","sourcesContent":["// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport * as fs from 'fs';\nimport path from 'path';\nimport { Module } from '@nestjs/common';\nimport { EventEmitterModule } from '@nestjs/event-emitter';\nimport { ScheduleModule } from '@nestjs/schedule';\nimport { DbModule, CoreModule, MetaModule } from '@subql/node-core';\nimport { ConfigureModule } from './configure/configure.module';\nimport { FetchModule } from './indexer/fetch.module';\n\n// TODO, Alternative approach, ERROR Uncaught Exception Error: Package subpath './package.json' is not defined by \"exports\" in xxxxx/node_modules/stellar-sdk/package.json\nconst packageJsonPath = path.resolve(\n require.resolve('stellar-sdk'),\n '../../package.json',\n);\nconst { version: stellarSdkVersion } = JSON.parse(\n fs.readFileSync(packageJsonPath, 'utf8'),\n);\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nconst { version: packageVersion } = require('../package.json');\n\n@Module({\n imports: [\n DbModule.forRoot(),\n EventEmitterModule.forRoot(),\n ConfigureModule.register(),\n ScheduleModule.forRoot(),\n CoreModule,\n FetchModule,\n MetaModule.forRoot({\n version: packageVersion,\n sdkVersion: { name: 'stellar-sdk', version: stellarSdkVersion },\n }),\n ],\n controllers: [],\n})\nexport class AppModule {}\n"]}
1
+ {"version":3,"file":"app.module.js","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEnC,uCAAyB;AACzB,gDAAwB;AACxB,2CAAwC;AACxC,yDAA2D;AAC3D,+CAAkD;AAClD,gDAAoE;AACpE,mEAA+D;AAC/D,yDAAqD;AAErD,0KAA0K;AAC1K,MAAM,eAAe,GAAG,cAAI,CAAC,OAAO,CAClC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,EACvC,oBAAoB,CACrB,CAAC;AACF,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC,KAAK,CAC/C,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CACzC,CAAC;AACF,8DAA8D;AAC9D,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAiBxD,IAAM,SAAS,GAAf,MAAM,SAAS;CAAG,CAAA;AAAZ,SAAS;IAfrB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,oBAAQ,CAAC,OAAO,EAAE;YAClB,kCAAkB,CAAC,OAAO,EAAE;YAC5B,kCAAe,CAAC,QAAQ,EAAE;YAC1B,yBAAc,CAAC,OAAO,EAAE;YACxB,sBAAU;YACV,0BAAW;YACX,sBAAU,CAAC,OAAO,CAAC;gBACjB,OAAO,EAAE,cAAc;gBACvB,UAAU,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,iBAAiB,EAAE;aACzE,CAAC;SACH;QACD,WAAW,EAAE,EAAE;KAChB,CAAC;GACW,SAAS,CAAG;AAAZ,8BAAS","sourcesContent":["// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport * as fs from 'fs';\nimport path from 'path';\nimport { Module } from '@nestjs/common';\nimport { EventEmitterModule } from '@nestjs/event-emitter';\nimport { ScheduleModule } from '@nestjs/schedule';\nimport { DbModule, CoreModule, MetaModule } from '@subql/node-core';\nimport { ConfigureModule } from './configure/configure.module';\nimport { FetchModule } from './indexer/fetch.module';\n\n// TODO, Alternative approach, ERROR Uncaught Exception Error: Package subpath './package.json' is not defined by \"exports\" in xxxxx/node_modules/stellar-sdk/package.json\nconst packageJsonPath = path.resolve(\n require.resolve('@stellar/stellar-sdk'),\n '../../package.json',\n);\nconst { version: stellarSdkVersion } = JSON.parse(\n fs.readFileSync(packageJsonPath, 'utf8'),\n);\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nconst { version: packageVersion } = require('../package.json');\n\n@Module({\n imports: [\n DbModule.forRoot(),\n EventEmitterModule.forRoot(),\n ConfigureModule.register(),\n ScheduleModule.forRoot(),\n CoreModule,\n FetchModule,\n MetaModule.forRoot({\n version: packageVersion,\n sdkVersion: { name: '@stellar/stellar-sdk', version: stellarSdkVersion },\n }),\n ],\n controllers: [],\n})\nexport class AppModule {}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@subql/node-stellar",
3
- "version": "4.1.2-0",
3
+ "version": "4.2.1-0",
4
4
  "description": "",
5
5
  "author": "Ian He",
6
6
  "license": "GPL-3.0",
@@ -26,7 +26,7 @@
26
26
  "@nestjs/schedule": "^3.0.1",
27
27
  "@stellar/stellar-sdk": "^12.2.0",
28
28
  "@subql/common": "^5.2.2",
29
- "@subql/common-stellar": "4.1.6-0",
29
+ "@subql/common-stellar": "4.2.0",
30
30
  "@subql/node-core": "^16.1.0",
31
31
  "@subql/testing": "^2.2.0",
32
32
  "@subql/types-stellar": "4.0.2",
@@ -58,5 +58,5 @@
58
58
  "/dist",
59
59
  "/bin"
60
60
  ],
61
- "stableVersion": "4.1.1"
61
+ "stableVersion": "4.2.0"
62
62
  }