Skip to content

Commit

Permalink
feat: get namespace dynamically from /world
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrt1n committed Aug 21, 2024
1 parent 15be50f commit 8cb4162
Show file tree
Hide file tree
Showing 21 changed files with 119 additions and 153 deletions.
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
typescript:
version: 0.10.2
version: 0.10.29
additionalDependencies:
dependencies:
viem: ^2.19.1
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
speakeasyVersion: 1.376.0
speakeasyVersion: 1.377.1
sources:
cardinal:
sourceNamespace: cardinal
sourceRevisionDigest: sha256:88376b5540e3140bc14317677394a1f9c6b92ea115a823a2af65aa6a40bb4b90
sourceBlobDigest: sha256:ee6858159eef08c3ef4349b0b359d9bcc8207a5c3e6ac67dc52a017aa4799b2e
sourceRevisionDigest: sha256:876d72a4091e462882897be39ca75fb327c40a5e5eea8e99493783bb6e149c6a
sourceBlobDigest: sha256:4f00c390a89d9776758ab5af82be8e33ea9fc6b6e0ea17e8d7c76aa7d3b76a22
tags:
- latest
targets:
cardinal-ts:
source: cardinal
sourceNamespace: cardinal
sourceRevisionDigest: sha256:88376b5540e3140bc14317677394a1f9c6b92ea115a823a2af65aa6a40bb4b90
sourceBlobDigest: sha256:ee6858159eef08c3ef4349b0b359d9bcc8207a5c3e6ac67dc52a017aa4799b2e
sourceRevisionDigest: sha256:876d72a4091e462882897be39ca75fb327c40a5e5eea8e99493783bb6e149c6a
sourceBlobDigest: sha256:4f00c390a89d9776758ab5af82be8e33ea9fc6b6e0ea17e8d7c76aa7d3b76a22
outLocation: cardinal/sdk/typescript
workflow:
workflowVersion: 1.0.0
Expand Down
14 changes: 7 additions & 7 deletions cardinal/sdk/typescript/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 156883ba-7f38-4ec6-b684-ccf304078a11
management:
docChecksum: c59efc63a3471b9ba779ad372e0eb81a
docChecksum: 4cb218f32a588f045137c8af7e382710
docVersion: 0.0.1
speakeasyVersion: 1.376.0
generationVersion: 2.402.5
releaseVersion: 0.10.2
configChecksum: fbee4070a2380f36f8dfcbabfcf817ec
speakeasyVersion: 1.377.1
generationVersion: 2.404.1
releaseVersion: 0.10.29
configChecksum: 9bd6d6b1f7f59373b5359089bcfbfcb1
features:
typescript:
additionalDependencies: 0.1.0
Expand Down Expand Up @@ -76,7 +76,7 @@ generatedFiles:
- src/models/components/cardinalserverhandlerreceiptentry.ts
- src/models/components/cardinalserverhandlerlisttxreceiptsrequest.ts
- src/models/components/cardinalserverhandlerposttransactionresponse.ts
- src/models/components/cardinalserverhandlertransaction.ts
- src/models/components/txbody.ts
- src/models/components/cardinalserverhandlergetworldresponse.ts
- src/models/components/pkgworlddevworldenginecardinaltypesfielddetail.ts
- src/models/operations/postquerygamequeryname.ts
Expand All @@ -95,7 +95,7 @@ generatedFiles:
- docs/models/components/cardinalserverhandlerreceiptentry.md
- docs/models/components/cardinalserverhandlerlisttxreceiptsrequest.md
- docs/models/components/cardinalserverhandlerposttransactionresponse.md
- docs/models/components/cardinalserverhandlertransaction.md
- docs/models/components/txbody.md
- docs/models/components/cardinalserverhandlergetworldresponse.md
- docs/models/components/pkgworlddevworldenginecardinaltypesfielddetail.md
- docs/models/operations/postquerygamequerynamerequest.md
Expand Down
2 changes: 1 addition & 1 deletion cardinal/sdk/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ const cardinal = new Cardinal();
async function run() {
const result = await cardinal.transact({
txName: "<value>",
cardinalServerHandlerTransaction: {},
txBody: {},
});

// Handle the result
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# CardinalServerHandlerTransaction
# TxBody

## Example Usage

```typescript
import { CardinalServerHandlerTransaction } from "cardinal/models/components";
import { TxBody } from "cardinal/models/components";

let value: CardinalServerHandlerTransaction = {};
let value: TxBody = {};
```

## Fields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import { PostTxGameTxNameRequest } from "cardinal/models/operations";

let value: PostTxGameTxNameRequest = {
txName: "<value>",
cardinalServerHandlerTransaction: {},
txBody: {},
};
```

## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `txName` | *string* | :heavy_check_mark: | Name of a registered message |
| `cardinalServerHandlerTransaction` | [components.CardinalServerHandlerTransaction](../../models/components/cardinalserverhandlertransaction.md) | :heavy_check_mark: | Transaction details & message to be submitted |
| Field | Type | Required | Description |
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
| `txName` | *string* | :heavy_check_mark: | Name of a registered message |
| `txBody` | [components.TxBody](../../models/components/txbody.md) | :heavy_check_mark: | Transaction details & message to be submitted |
Loading

0 comments on commit 8cb4162

Please sign in to comment.