@settlemint/sdk-js 2.2.3-prb269c20f → 2.2.3-prbfa485ee

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/README.md CHANGED
@@ -229,7 +229,7 @@ Type representing a middleware entity with subgraphs.
229
229
 
230
230
  > **PlatformConfig** = `ResultOf`\<*typeof* `getPlatformConfigQuery`\>\[`"config"`\]
231
231
 
232
- Defined in: [graphql/platform.ts:56](https://github.com/settlemint/sdk/blob/v2.2.3/sdk/js/src/graphql/platform.ts#L56)
232
+ Defined in: [graphql/platform.ts:51](https://github.com/settlemint/sdk/blob/v2.2.3/sdk/js/src/graphql/platform.ts#L51)
233
233
 
234
234
  Type representing the platform configuration.
235
235
 
@@ -1570,12 +1570,7 @@ var getPlatformConfigQuery = graphql(
1570
1570
  disabled
1571
1571
  }
1572
1572
  }
1573
- preDeployedAbis {
1574
- id
1575
- featureflagged
1576
- abis
1577
- label
1578
- }
1573
+ preDeployedContracts
1579
1574
  sdkVersion
1580
1575
  kits {
1581
1576
  id
@@ -1608,15 +1603,6 @@ var PrivateKeyFragment = graphql(`
1608
1603
  provider
1609
1604
  region
1610
1605
  address
1611
- trustedForwarderName
1612
- trustedForwarderAddress
1613
- relayerKey {
1614
- ... on PrivateKey {
1615
- id
1616
- name
1617
- uniqueName
1618
- }
1619
- }
1620
1606
  blockchainNodes {
1621
1607
  ... on BlockchainNode {
1622
1608
  id
@@ -1659,9 +1645,6 @@ var createPrivateKey = graphql(
1659
1645
  $size: ClusterServiceSize
1660
1646
  $type: ClusterServiceType
1661
1647
  $blockchainNodes: [ID!]
1662
- $trustedForwarderName: String
1663
- $trustedForwarderAddress: String
1664
- $relayerKey: ID
1665
1648
  ) {
1666
1649
  createPrivateKey(
1667
1650
  applicationId: $applicationId
@@ -1672,9 +1655,6 @@ var createPrivateKey = graphql(
1672
1655
  size: $size
1673
1656
  type: $type
1674
1657
  blockchainNodes: $blockchainNodes
1675
- trustedForwarderName: $trustedForwarderName
1676
- trustedForwarderAddress: $trustedForwarderAddress
1677
- relayerKey: $relayerKey
1678
1658
  ) {
1679
1659
  ...PrivateKey
1680
1660
  }
@@ -1710,10 +1690,9 @@ var privatekeyRead = (gqlClient) => {
1710
1690
  };
1711
1691
  var privateKeyCreate = (gqlClient) => {
1712
1692
  return async (args) => {
1713
- const { applicationUniqueName, blockchainNodeUniqueNames, relayerKeyUniqueName, ...otherArgs } = args;
1693
+ const { applicationUniqueName, blockchainNodeUniqueNames, ...otherArgs } = args;
1714
1694
  const application = await applicationRead(gqlClient)(applicationUniqueName);
1715
1695
  const blockchainNodes = blockchainNodeUniqueNames ? await Promise.all(blockchainNodeUniqueNames.map((uniqueName) => blockchainNodeRead(gqlClient)(uniqueName))) : [];
1716
- const relayerKey = relayerKeyUniqueName ? await privatekeyRead(gqlClient)(relayerKeyUniqueName) : void 0;
1717
1696
  const platformConfig = await getPlatformConfig(gqlClient)();
1718
1697
  const defaultProvider = platformConfig.deploymentEngineTargets.find(
1719
1698
  (target) => !target.disabled && target.clusters.some((cluster) => !cluster.disabled)
@@ -1723,7 +1702,6 @@ var privateKeyCreate = (gqlClient) => {
1723
1702
  ...otherArgs,
1724
1703
  applicationId: application.id,
1725
1704
  blockchainNodes: blockchainNodes.map((node) => node?.id),
1726
- relayerKey: relayerKey?.id,
1727
1705
  provider: defaultProvider?.id ?? "gke",
1728
1706
  region: defaultRegion?.id?.split("-")[1] ?? "europe",
1729
1707
  size: "SMALL",