Skip to content

Release packages#66

Merged
lucasvinhas merged 1 commit intomainfrom
changeset-release/main
Mar 3, 2026
Merged

Release packages#66
lucasvinhas merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Mar 3, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@oaknetwork/payments-sdk@1.1.0

Minor Changes

Minor Changes

  • change the name of the SDK folder to payments-sdk

  • Remove Crowdsplit product facade and rename CrowdSplit types to Oak

    WHAT

    • Removed the Crowdsplit product facade (@oaknetwork/payments-sdk/products/crowdsplit)
    • Removed the ./products/crowdsplit export path from package.json
    • Renamed payment method types:
      • CrowdSplitBankAccountOakBankAccount
      • CrowdSplitCustomerWalletOakCustomerWallet
      • CrowdSplitPixOakPix

    WHY

    • Align the SDK codebase with public documentation which uses direct service imports
    • Remove legacy "Crowdsplit" branding in favor of "Oak Network"
    • Simplify the API surface by having one canonical way to use services

    HOW to migrate

    Replace the Crowdsplit facade with direct service imports:

    // Before
    import { Crowdsplit } from "@oaknetwork/payments-sdk/products/crowdsplit";
    const { customers, payments } = Crowdsplit(client);
    
    // After
    import {
      createCustomerService,
      createPaymentService,
    } from "@oaknetwork/payments-sdk";
    const customers = createCustomerService(client);
    const payments = createPaymentService(client);

    Update type references:

    // Before
    const bankAccount: CrowdSplitBankAccount = { ... };
    
    // After
    const bankAccount: OakBankAccount = { ... };

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 2f10770 to 03af5ff Compare March 3, 2026 20:12
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 03af5ff to 4e0eb5e Compare March 3, 2026 21:03
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 4e0eb5e to 150ff6b Compare March 3, 2026 21:18
@lucasvinhas lucasvinhas merged commit 2e9ee32 into main Mar 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants