@chainlink/cre-sdk 1.1.0 → 1.1.1

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,8 +1,8 @@
1
1
  import { type Any } from '@bufbuild/protobuf/wkt';
2
2
  import { type BalanceAtReply, type BalanceAtRequest, type BalanceAtRequestJson, type CallContractReply, type CallContractRequest, type CallContractRequestJson, type EstimateGasReply, type EstimateGasRequest, type EstimateGasRequestJson, type FilterLogsReply, type FilterLogsRequest, type FilterLogsRequestJson, type FilterLogTriggerRequest, type FilterLogTriggerRequestJson, type GasConfig, type GasConfigJson, type GetTransactionByHashReply, type GetTransactionByHashRequest, type GetTransactionByHashRequestJson, type GetTransactionReceiptReply, type GetTransactionReceiptRequest, type GetTransactionReceiptRequestJson, type HeaderByNumberReply, type HeaderByNumberRequest, type HeaderByNumberRequestJson, type Log, type WriteReportReply, type WriteReportRequest } from '../../../../../generated/capabilities/blockchain/evm/v1alpha/client_pb';
3
- import { type Runtime } from '../../../../../sdk';
3
+ import type { Runtime } from '../../../../../sdk';
4
4
  import { Report } from '../../../../../sdk/report';
5
- import { type Trigger } from '../../../../../sdk/utils/triggers/trigger-interface';
5
+ import type { Trigger } from '../../../../../sdk/utils/triggers/trigger-interface';
6
6
  export type WriteCreReportRequest = {
7
7
  receiver: Uint8Array;
8
8
  report?: Report;
@@ -2,10 +2,8 @@ import { create, fromJson } from '@bufbuild/protobuf';
2
2
  import { AnySchema, anyPack } from '@bufbuild/protobuf/wkt';
3
3
  import { BalanceAtReplySchema, BalanceAtRequestSchema, CallContractReplySchema, CallContractRequestSchema, EstimateGasReplySchema, EstimateGasRequestSchema, FilterLogsReplySchema, FilterLogsRequestSchema, FilterLogTriggerRequestSchema, GasConfigSchema, GetTransactionByHashReplySchema, GetTransactionByHashRequestSchema, GetTransactionReceiptReplySchema, GetTransactionReceiptRequestSchema, HeaderByNumberReplySchema, HeaderByNumberRequestSchema, LogSchema, WriteReportReplySchema, WriteReportRequestSchema, } from '../../../../../generated/capabilities/blockchain/evm/v1alpha/client_pb';
4
4
  import { ReportResponseSchema, } from '../../../../../generated/sdk/v1alpha/sdk_pb';
5
- import {} from '../../../../../sdk';
6
5
  import { Report } from '../../../../../sdk/report';
7
6
  import { hexToBytes } from '../../../../../sdk/utils/hex-utils';
8
- import {} from '../../../../../sdk/utils/triggers/trigger-interface';
9
7
  export function x_generatedCodeOnly_wrap_WriteCreReportRequest(input) {
10
8
  return {
11
9
  receiver: input.receiver,
@@ -1,6 +1,6 @@
1
1
  import { type ReportRequest, type ReportRequestJson, type SimpleConsensusInputs, type SimpleConsensusInputsJson } from '../../../../../generated/sdk/v1alpha/sdk_pb';
2
2
  import { type Value } from '../../../../../generated/values/v1/values_pb';
3
- import { type Runtime } from '../../../../../sdk';
3
+ import type { Runtime } from '../../../../../sdk';
4
4
  import { Report } from '../../../../../sdk/report';
5
5
  /**
6
6
  * Consensus Capability
@@ -1,7 +1,6 @@
1
1
  import { fromJson } from '@bufbuild/protobuf';
2
2
  import { ReportRequestSchema, ReportResponseSchema, SimpleConsensusInputsSchema, } from '../../../../../generated/sdk/v1alpha/sdk_pb';
3
3
  import { ValueSchema } from '../../../../../generated/values/v1/values_pb';
4
- import {} from '../../../../../sdk';
5
4
  import { Report } from '../../../../../sdk/report';
6
5
  import { hexToBytes } from '../../../../../sdk/utils/hex-utils';
7
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { type ConfidentialHTTPRequest, type ConfidentialHTTPRequestJson, type HTTPResponse } from '../../../../../generated/capabilities/networking/confidentialhttp/v1alpha/client_pb';
2
- import { type Runtime } from '../../../../../sdk';
2
+ import type { Runtime } from '../../../../../sdk';
3
3
  /**
4
4
  * Client Capability
5
5
  *
@@ -1,6 +1,5 @@
1
1
  import { fromJson } from '@bufbuild/protobuf';
2
2
  import { ConfidentialHTTPRequestSchema, HTTPResponseSchema, } from '../../../../../generated/capabilities/networking/confidentialhttp/v1alpha/client_pb';
3
- import {} from '../../../../../sdk';
4
3
  import { Report } from '../../../../../sdk/report';
5
4
  import { hexToBytes } from '../../../../../sdk/utils/hex-utils';
6
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { type Request, type RequestJson, type Response } from '../../../../../generated/capabilities/networking/http/v1alpha/client_pb';
2
- import { type NodeRuntime, type Runtime } from '../../../../../sdk';
2
+ import type { NodeRuntime, Runtime } from '../../../../../sdk';
3
3
  import type { ConsensusAggregation, PrimitiveTypes, UnwrapOptions } from '../../../../../sdk/utils';
4
4
  export declare class SendRequester {
5
5
  private readonly runtime;
@@ -1,6 +1,5 @@
1
1
  import { fromJson } from '@bufbuild/protobuf';
2
2
  import { RequestSchema, ResponseSchema, } from '../../../../../generated/capabilities/networking/http/v1alpha/client_pb';
3
- import {} from '../../../../../sdk';
4
3
  import { Report } from '../../../../../sdk/report';
5
4
  export class SendRequester {
6
5
  runtime;
@@ -1,6 +1,6 @@
1
1
  import { type Any } from '@bufbuild/protobuf/wkt';
2
2
  import { type Config, type ConfigJson, type Payload } from '../../../../../generated/capabilities/networking/http/v1alpha/trigger_pb';
3
- import { type Trigger } from '../../../../../sdk/utils/triggers/trigger-interface';
3
+ import type { Trigger } from '../../../../../sdk/utils/triggers/trigger-interface';
4
4
  /**
5
5
  * HTTP Capability
6
6
  *
@@ -1,7 +1,6 @@
1
1
  import { create, fromJson } from '@bufbuild/protobuf';
2
2
  import { AnySchema, anyPack } from '@bufbuild/protobuf/wkt';
3
3
  import { ConfigSchema, PayloadSchema, } from '../../../../../generated/capabilities/networking/http/v1alpha/trigger_pb';
4
- import {} from '../../../../../sdk/utils/triggers/trigger-interface';
5
4
  /**
6
5
  * HTTP Capability
7
6
  *
@@ -1,6 +1,6 @@
1
1
  import { type Any } from '@bufbuild/protobuf/wkt';
2
2
  import { type Config, type ConfigJson, type Payload } from '../../../../../generated/capabilities/scheduler/cron/v1/trigger_pb';
3
- import { type Trigger } from '../../../../../sdk/utils/triggers/trigger-interface';
3
+ import type { Trigger } from '../../../../../sdk/utils/triggers/trigger-interface';
4
4
  /**
5
5
  * Cron Capability
6
6
  *
@@ -1,7 +1,6 @@
1
1
  import { create, fromJson } from '@bufbuild/protobuf';
2
2
  import { AnySchema, anyPack } from '@bufbuild/protobuf/wkt';
3
3
  import { ConfigSchema, LegacyPayloadSchema, PayloadSchema, } from '../../../../../generated/capabilities/scheduler/cron/v1/trigger_pb';
4
- import {} from '../../../../../sdk/utils/triggers/trigger-interface';
5
4
  /**
6
5
  * Cron Capability
7
6
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainlink/cre-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -60,7 +60,7 @@
60
60
  "dependencies": {
61
61
  "@bufbuild/protobuf": "2.6.3",
62
62
  "@bufbuild/protoc-gen-es": "2.6.3",
63
- "@chainlink/cre-sdk-javy-plugin": "1.1.0",
63
+ "@chainlink/cre-sdk-javy-plugin": "1.1.1",
64
64
  "@standard-schema/spec": "1.0.0",
65
65
  "viem": "2.34.0",
66
66
  "zod": "3.25.76"