@pulseai/sdk 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -683,6 +683,12 @@ declare class IndexerClient {
683
683
  registerWarrenLink(jobId: number, linkType: string, masterAddress: string, contentHash: string): Promise<void>;
684
684
  getWarrenLinks(jobId: number): Promise<IndexerWarrenLinks>;
685
685
  postDeliverable(jobId: number, content: string, contentHash: string, storageType?: string): Promise<void>;
686
+ updateOfferingMetadata(offeringId: number, params: {
687
+ openclawExample?: string;
688
+ usageUrl?: string;
689
+ usageInstructions?: string;
690
+ signature: string;
691
+ }): Promise<void>;
686
692
  getDeliverable(jobId: number): Promise<{
687
693
  content: string;
688
694
  storageType: string;
package/dist/index.js CHANGED
@@ -4015,6 +4015,16 @@ var IndexerClient = class {
4015
4015
  })
4016
4016
  });
4017
4017
  }
4018
+ async updateOfferingMetadata(offeringId, params) {
4019
+ await this.requestJson(
4020
+ `/offerings/${offeringId}/metadata`,
4021
+ {
4022
+ method: "PUT",
4023
+ headers: { "Content-Type": "application/json" },
4024
+ body: JSON.stringify(params)
4025
+ }
4026
+ );
4027
+ }
4018
4028
  async getDeliverable(jobId) {
4019
4029
  try {
4020
4030
  const response = await this.request(`/deliverables/${jobId}`);