Skip to content

Commit 962a80b

Browse files
Prepare for 0.0.5-alpha release
1 parent 065fe27 commit 962a80b

File tree

6 files changed

+17
-16
lines changed

6 files changed

+17
-16
lines changed

packages/cre-sdk-examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@chainlink/cre-sdk-examples",
33
"private": true,
4-
"version": "0.0.4-alpha",
4+
"version": "0.0.5-alpha",
55
"type": "module",
66
"author": "Ernest Nowacki",
77
"license": "BUSL-1.1",

packages/cre-sdk-examples/src/workflows/on-chain-write/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import {
1010
ok,
1111
Runner,
1212
type Runtime,
13-
text,
1413
TxStatus,
14+
text,
1515
} from '@chainlink/cre-sdk'
1616
import { type Address, decodeFunctionResult, encodeFunctionData, toHex, zeroAddress } from 'viem'
1717
import { z } from 'zod'

packages/cre-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chainlink/cre-sdk",
3-
"version": "0.0.4-alpha",
3+
"version": "0.0.5-alpha",
44
"type": "module",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

packages/cre-sdk/src/generated/capabilities/networking/http/v1alpha/trigger_pb.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
// @generated from file capabilities/networking/http/v1alpha/trigger.proto (package capabilities.networking.http.v1alpha, syntax proto3)
33
/* eslint-disable */
44

5-
import type { JsonObject, Message } from '@bufbuild/protobuf'
5+
import type { Message } from '@bufbuild/protobuf'
66
import type { GenEnum, GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2'
77
import { enumDesc, fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2'
8-
import type { StructJson } from '@bufbuild/protobuf/wkt'
9-
import { file_google_protobuf_struct } from '@bufbuild/protobuf/wkt'
108
import { file_tools_generator_v1alpha_cre_metadata } from '../../../../tools/generator/v1alpha/cre_metadata_pb'
119

1210
/**
@@ -15,8 +13,8 @@ import { file_tools_generator_v1alpha_cre_metadata } from '../../../../tools/gen
1513
export const file_capabilities_networking_http_v1alpha_trigger: GenFile =
1614
/*@__PURE__*/
1715
fileDesc(
18-
'CjJjYXBhYmlsaXRpZXMvbmV0d29ya2luZy9odHRwL3YxYWxwaGEvdHJpZ2dlci5wcm90bxIkY2FwYWJpbGl0aWVzLm5ldHdvcmtpbmcuaHR0cC52MWFscGhhIlYKBkNvbmZpZxJMCg9hdXRob3JpemVkX2tleXMYASADKAsyMy5jYXBhYmlsaXRpZXMubmV0d29ya2luZy5odHRwLnYxYWxwaGEuQXV0aG9yaXplZEtleSJzCgdQYXlsb2FkEiYKBWlucHV0GAEgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBJACgNrZXkYAiABKAsyMy5jYXBhYmlsaXRpZXMubmV0d29ya2luZy5odHRwLnYxYWxwaGEuQXV0aG9yaXplZEtleSJgCg1BdXRob3JpemVkS2V5EjsKBHR5cGUYASABKA4yLS5jYXBhYmlsaXRpZXMubmV0d29ya2luZy5odHRwLnYxYWxwaGEuS2V5VHlwZRISCgpwdWJsaWNfa2V5GAIgASgJKjsKB0tleVR5cGUSGAoUS0VZX1RZUEVfVU5TUEVDSUZJRUQQABIWChJLRVlfVFlQRV9FQ0RTQV9FVk0QATKSAQoESFRUUBJoCgdUcmlnZ2VyEiwuY2FwYWJpbGl0aWVzLm5ldHdvcmtpbmcuaHR0cC52MWFscGhhLkNvbmZpZxotLmNhcGFiaWxpdGllcy5uZXR3b3JraW5nLmh0dHAudjFhbHBoYS5QYXlsb2FkMAEaIIK1GBwIARIYaHR0cC10cmlnZ2VyQDEuMC4wLWFscGhhQusBCihjb20uY2FwYWJpbGl0aWVzLm5ldHdvcmtpbmcuaHR0cC52MWFscGhhQgxUcmlnZ2VyUHJvdG9QAaICA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ZXMubmV0d29ya2luZy5odHRwLnYxYWxwaGFCDFRyaWdnZXJQcm90b1ABogIDQ05IqgIkQ2FwYWJpbGl0aWVzLk5ldHdvcmtpbmcuSHR0cC5WMWFscGhhygIkQ2FwYWJpbGl0aWVzXE5ldHdvcmtpbmdcSHR0cFxWMWFscGhh4gIwQ2FwYWJpbGl0aWVzXE5ldHdvcmtpbmdcSHR0cFxWMWFscGhhXEdQQk1ldGFkYXRh6gInQ2FwYWJpbGl0aWVzOjpOZXR3b3JraW5nOjpIdHRwOjpWMWFscGhhYgZwcm90bzM',
17+
[file_tools_generator_v1alpha_cre_metadata],
2018
)
2119

2220
/**
@@ -56,11 +54,11 @@ export const ConfigSchema: GenMessage<Config, { jsonType: ConfigJson }> =
5654
*/
5755
export type Payload = Message<'capabilities.networking.http.v1alpha.Payload'> & {
5856
/**
59-
* JSON input in the HTTP trigger request
57+
* JSON input in the HTTP trigger request (as bytes)
6058
*
61-
* @generated from field: google.protobuf.Struct input = 1;
59+
* @generated from field: bytes input = 1;
6260
*/
63-
input?: JsonObject
61+
input: Uint8Array
6462

6563
/**
6664
* Key used to sign the HTTP trigger request
@@ -75,11 +73,11 @@ export type Payload = Message<'capabilities.networking.http.v1alpha.Payload'> &
7573
*/
7674
export type PayloadJson = {
7775
/**
78-
* JSON input in the HTTP trigger request
76+
* JSON input in the HTTP trigger request (as bytes)
7977
*
80-
* @generated from field: google.protobuf.Struct input = 1;
78+
* @generated from field: bytes input = 1;
8179
*/
82-
input?: StructJson
80+
input?: string
8381

8482
/**
8583
* Key used to sign the HTTP trigger request

packages/cre-sdk/src/generator/generate-sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {
88
capability,
99
method as methodOption,
1010
} from '@cre/generated/tools/generator/v1alpha/cre_metadata_pb'
11-
import { generateReportWrapper } from './generate-report-wrapper'
1211
import { generateActionMethod } from './generate-action'
12+
import { generateReportWrapper } from './generate-report-wrapper'
1313
import { generateActionSugarClass } from './generate-sugar'
1414
import { generateTriggerClass, generateTriggerMethod } from './generate-trigger'
1515
import { getImportPathForFile, lowerCaseFirstLetter } from './utils'

packages/cre-sdk/src/sdk/cre/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ import { CronCapability } from '@cre/generated-sdk/capabilities/scheduler/cron/v
1212
import { prepareRuntime } from '@cre/sdk/utils/prepare-runtime'
1313
import { handler } from '@cre/sdk/workflow'
1414

15-
export { type Log as EVMLog, TxStatus } from '@cre/generated/capabilities/blockchain/evm/v1alpha/client_pb'
15+
export {
16+
type Log as EVMLog,
17+
TxStatus,
18+
} from '@cre/generated/capabilities/blockchain/evm/v1alpha/client_pb'
1619
export type { Payload as HTTPPayload } from '@cre/generated/capabilities/networking/http/v1alpha/trigger_pb'
1720
export type { Payload as CronPayload } from '@cre/generated/capabilities/scheduler/cron/v1/trigger_pb'
1821
export type { NodeRuntime, Runtime } from '@cre/sdk/runtime'

0 commit comments

Comments
 (0)