@subql/node-stellar 4.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.
- package/CHANGELOG.md +3 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/app.module.js +2 -2
- package/dist/app.module.js.map +1 -1
- package/package.json +3 -2
package/dist/app.module.js
CHANGED
|
@@ -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: [],
|
package/dist/app.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEnC,uCAAyB;AAC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W,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