Skip to content

Commit 5d95701

Browse files
Update versions, export report generation types (#133)
1 parent bb4a86c commit 5d95701

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
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.9-alpha",
4+
"version": "0.0.10-alpha",
55
"type": "module",
66
"author": "Ernest Nowacki",
77
"license": "BUSL-1.1",

packages/cre-sdk-javy-plugin/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-javy-plugin",
3-
"version": "0.0.6-alpha",
3+
"version": "0.0.7-alpha",
44
"type": "module",
55
"bin": {
66
"cre-setup": "bin/setup.ts",

packages/cre-sdk/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chainlink/cre-sdk",
3-
"version": "0.0.9-alpha",
3+
"version": "0.0.10-alpha",
44
"type": "module",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -10,7 +10,8 @@
1010
"import": "./dist/index.js"
1111
},
1212
"./restricted-apis": {
13-
"types": "./dist/sdk/types/restricted-apis.d.ts"
13+
"types": "./dist/sdk/types/restricted-apis.d.ts",
14+
"import": "./dist/sdk/types/restricted-apis.js"
1415
},
1516
"./pb": {
1617
"types": "./dist/pb.d.ts",

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,21 @@ export {
1919
} from '@cre/generated/capabilities/blockchain/evm/v1alpha/client_pb'
2020
export type { Payload as HTTPPayload } from '@cre/generated/capabilities/networking/http/v1alpha/trigger_pb'
2121
export type { Payload as CronPayload } from '@cre/generated/capabilities/scheduler/cron/v1/trigger_pb'
22+
2223
// EVM Capability
23-
export { ClientCapability as EVMClient } from '@cre/generated-sdk/capabilities/blockchain/evm/v1alpha/client_sdk_gen'
24+
export {
25+
ClientCapability as EVMClient,
26+
type WriteCreReportRequest,
27+
type WriteCreReportRequestJson,
28+
} from '@cre/generated-sdk/capabilities/blockchain/evm/v1alpha/client_sdk_gen'
29+
2430
// HTTP Capability
2531
export {
2632
ClientCapability as HTTPClient,
2733
type SendRequester as HTTPSendRequester,
2834
} from '@cre/generated-sdk/capabilities/networking/http/v1alpha/client_sdk_gen'
2935
export { HTTPCapability } from '@cre/generated-sdk/capabilities/networking/http/v1alpha/http_sdk_gen'
36+
3037
// CRON Capability
3138
export { CronCapability } from '@cre/generated-sdk/capabilities/scheduler/cron/v1/cron_sdk_gen'
3239

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This file ensures the module is properly loaded for TypeScript global augmentations
2+
// The actual type definitions are in restricted-apis.d.ts
3+
export {}

0 commit comments

Comments
 (0)