@cardano-sdk/cardano-graphql-db-sync
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -5,2 +5,3 @@ "use strict"; | ||
const graphql_request_1 = require("graphql-request"); | ||
const buffer_1 = require("buffer"); | ||
const CardanoGraphqlToOgmios_1 = require("./CardanoGraphqlToOgmios"); | ||
@@ -141,3 +142,3 @@ const cardanoGraphqlDbSyncProvider = (uri) => { | ||
const response = await client.request(mutation, { | ||
transaction: Buffer.from(signedTransaction.to_bytes()).toString('hex') | ||
transaction: buffer_1.Buffer.from(signedTransaction.to_bytes()).toString('hex') | ||
}); | ||
@@ -144,0 +145,0 @@ return !!response.hash; |
{ | ||
"name": "@cardano-sdk/cardano-graphql-db-sync", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Cardano Graphql (cardano-db-sync) integration", | ||
@@ -18,3 +18,3 @@ "engines": { | ||
"lint": "eslint --ignore-path ../../.eslintignore \"**/*.ts\"", | ||
"test": "jest -c ./test/jest.config.js", | ||
"test": "jest -c ./jest.config.js", | ||
"coverage": "shx echo No coverage report for this package" | ||
@@ -27,6 +27,7 @@ }, | ||
"@cardano-graphql/client-ts": "^5.1.0-beta.1", | ||
"@cardano-ogmios/client": "4.0.0", | ||
"@cardano-ogmios/client": "4.1.0", | ||
"graphql": "^15.5.1", | ||
"buffer": "^6.0.3", | ||
"graphql-request": "^3.5.0" | ||
} | ||
} |
@@ -5,2 +5,3 @@ import { CardanoProvider } from '@cardano-sdk/core'; | ||
import { Schema as Cardano } from '@cardano-ogmios/client'; | ||
import { Buffer } from 'buffer'; | ||
import { | ||
@@ -7,0 +8,0 @@ CardanoGraphqlToOgmios, |
@@ -59,6 +59,6 @@ import { Schema as Cardano } from '@cardano-ogmios/client'; | ||
tip: (tip: CardanoGraphQlTip): Cardano.Tip => ({ | ||
blockNo: tip.number, | ||
blockNo: tip.number!, | ||
hash: tip.hash, | ||
slot: tip.slotNo | ||
slot: tip.slotNo! | ||
}) | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143005
5
1046
+ Addedbuffer@^6.0.3
+ Added@cardano-ogmios/client@4.1.0(transitive)
+ Added@cardano-ogmios/schema@4.1.0(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedieee754@1.2.1(transitive)
- Removed@cardano-ogmios/client@4.0.0(transitive)
- Removed@cardano-ogmios/schema@4.0.0(transitive)
Updated@cardano-ogmios/client@4.1.0