Skip to content

Commit 5c85a68

Browse files
committed
chore: add requested SPDX source headers (#201)
1 parent 93ae815 commit 5c85a68

17 files changed

Lines changed: 17 additions & 0 deletions

packages/sdk/src/asset-config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
import { StrKey } from "@stellar/stellar-sdk";
23

34
export class AssetConfigError extends Error {

packages/sdk/src/client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
// SubRosaClient — a thin, ergonomic, spec-accurate wrapper over the generated
23
// Round contract bindings. Direct Soroban RPC is the default submission path;
34
// callers can optionally inject a submitter (for example OZ Relayer Channels)

packages/sdk/src/encrypted-blob.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
// Encrypted blob validation — size, content-type, and encoding checks.
23
//
34
// The contract enforces a 4096-byte maximum for ciphertext (Soroban Temporary

packages/sdk/src/errors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
export class SubRosaClientConfigError extends Error {
23
readonly name = "SubRosaClientConfigError";
34

packages/sdk/src/ids.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
const SOROBAN_CONTRACT_ID_RE = /^C[A-Z2-7]{55}$/;
23

34
function toTrimmedString(value: string | undefined): string | undefined {

packages/sdk/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
export {
23
SubRosaClient,
34
type SubRosaClientConfig,

packages/sdk/src/mainnet-artifacts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
/** Frozen mainnet deployment artifacts — read-only proof references. */
23
export const MAINNET_ARTIFACTS = {
34
network: "Stellar Mainnet",

packages/sdk/src/mainnet-readiness.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
import {
23
Account,
34
Address,

packages/sdk/src/preflight.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
import { rpc } from "@stellar/stellar-sdk";
23
import {
34
AssembledTransaction,

packages/sdk/src/receipt.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: MIT
12
// Canonical round receipt — deterministic, versioned, offline-verifiable.
23
//
34
// Every bigint is serialized as a decimal string; every byte sequence as

0 commit comments

Comments
 (0)