@powerhousedao/renown-package 1.0.1-staging.2 → 1.1.0

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.
@@ -74,9 +74,9 @@ export function InitInputSchema() {
74
74
  credentialSchema: z.lazy(() => CredentialSchemaInputSchema()),
75
75
  credentialStatus: z.lazy(() => CredentialStatusInputSchema().nullish()),
76
76
  credentialSubject: z.lazy(() => CredentialSubjectInputSchema()),
77
- expirationDate: z.string().datetime().nullish(),
77
+ expirationDate: z.iso.datetime().nullish(),
78
78
  id: z.string(),
79
- issuanceDate: z.string().datetime(),
79
+ issuanceDate: z.iso.datetime(),
80
80
  issuer: z.lazy(() => IssuerInputSchema()),
81
81
  proof: z.lazy(() => ProofInputSchema()),
82
82
  type: z.array(z.string()),
@@ -106,7 +106,7 @@ export function IssuerInputSchema() {
106
106
  export function ProofSchema() {
107
107
  return z.object({
108
108
  __typename: z.literal("Proof").optional(),
109
- created: z.string().datetime(),
109
+ created: z.iso.datetime(),
110
110
  eip712: z.lazy(() => Eip712Schema()),
111
111
  ethereumAddress: z
112
112
  .string()
@@ -121,7 +121,7 @@ export function ProofSchema() {
121
121
  }
122
122
  export function ProofInputSchema() {
123
123
  return z.object({
124
- created: z.string().datetime(),
124
+ created: z.iso.datetime(),
125
125
  eip712: z.lazy(() => Eip712InputSchema()),
126
126
  ethereumAddress: z
127
127
  .string()
@@ -141,20 +141,20 @@ export function RenownCredentialStateSchema() {
141
141
  credentialSchema: z.lazy(() => CredentialSchemaSchema()),
142
142
  credentialStatus: z.lazy(() => CredentialStatusSchema().nullish()),
143
143
  credentialSubject: z.lazy(() => CredentialSubjectSchema()),
144
- expirationDate: z.string().datetime().nullish(),
144
+ expirationDate: z.iso.datetime().nullish(),
145
145
  id: z.string(),
146
- issuanceDate: z.string().datetime(),
146
+ issuanceDate: z.iso.datetime(),
147
147
  issuer: z.lazy(() => IssuerSchema()),
148
148
  proof: z.lazy(() => ProofSchema()),
149
149
  revocationReason: z.string().nullish(),
150
150
  revoked: z.boolean(),
151
- revokedAt: z.string().datetime().nullish(),
151
+ revokedAt: z.iso.datetime().nullish(),
152
152
  type: z.array(z.string()),
153
153
  });
154
154
  }
155
155
  export function RevokeInputSchema() {
156
156
  return z.object({
157
157
  reason: z.string().nullish(),
158
- revokedAt: z.string().datetime(),
158
+ revokedAt: z.iso.datetime(),
159
159
  });
160
160
  }
@@ -1,5 +1,5 @@
1
1
  import type { DocumentModelModule } from "document-model";
2
2
  import type { RenownCredentialPHState } from "@powerhousedao/renown-package/document-models/renown-credential";
3
- /** Document model module for the Todo List document type */
3
+ /** Document model module for the RenownCredential document type */
4
4
  export declare const RenownCredential: DocumentModelModule<RenownCredentialPHState>;
5
5
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/renown-credential/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iEAAiE,CAAC;AAQ/G,4DAA4D;AAC5D,eAAO,MAAM,gBAAgB,EAAE,mBAAmB,CAAC,uBAAuB,CAMzE,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/renown-credential/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iEAAiE,CAAC;AAQ/G,mEAAmE;AACnE,eAAO,MAAM,gBAAgB,EAAE,mBAAmB,CAAC,uBAAuB,CAMzE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { createState } from "document-model";
2
2
  import { defaultBaseState } from "document-model/core";
3
3
  import { actions, documentModel, reducer, utils, } from "@powerhousedao/renown-package/document-models/renown-credential";
4
- /** Document model module for the Todo List document type */
4
+ /** Document model module for the RenownCredential document type */
5
5
  export const RenownCredential = {
6
6
  version: 1,
7
7
  reducer,
@@ -1,5 +1,5 @@
1
1
  import type { DocumentModelModule } from "document-model";
2
2
  import type { RenownUserPHState } from "@powerhousedao/renown-package/document-models/renown-user";
3
- /** Document model module for the Todo List document type */
3
+ /** Document model module for the RenownUser document type */
4
4
  export declare const RenownUser: DocumentModelModule<RenownUserPHState>;
5
5
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/renown-user/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAQnG,4DAA4D;AAC5D,eAAO,MAAM,UAAU,EAAE,mBAAmB,CAAC,iBAAiB,CAM7D,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/renown-user/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAQnG,6DAA6D;AAC7D,eAAO,MAAM,UAAU,EAAE,mBAAmB,CAAC,iBAAiB,CAM7D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { createState } from "document-model";
2
2
  import { defaultBaseState } from "document-model/core";
3
3
  import { actions, documentModel, reducer, utils, } from "@powerhousedao/renown-package/document-models/renown-user";
4
- /** Document model module for the Todo List document type */
4
+ /** Document model module for the RenownUser document type */
5
5
  export const RenownUser = {
6
6
  version: 1,
7
7
  reducer,
@@ -1,10 +1,6 @@
1
1
  import { generateMock } from "@powerhousedao/codegen";
2
2
  import { describe, expect, it } from "vitest";
3
- import { reducer } from "../gen/reducer.js";
4
- import { utils } from "../gen/utils.js";
5
- import { isRenownUserDocument } from "../gen/document-schema.js";
6
- import { setUsername, setEthAddress, setUserImage, } from "../gen/profile/creators.js";
7
- import { SetUsernameInputSchema, SetEthAddressInputSchema, SetUserImageInputSchema, } from "../gen/schema/zod.js";
3
+ import { reducer, utils, isRenownUserDocument, setUsername, setEthAddress, setUserImage, SetUsernameInputSchema, SetEthAddressInputSchema, SetUserImageInputSchema, } from "@powerhousedao/renown-package/document-models/renown-user";
8
4
  describe("ProfileOperations", () => {
9
5
  it("should handle setUsername operation", () => {
10
6
  const document = utils.createDocument();
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@powerhousedao/renown-package",
3
3
  "description": "Renown document models, editors, and processors for the Powerhouse ecosystem",
4
- "version": "1.0.1-staging.2",
4
+ "version": "1.1.0",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/powerhouse-inc/renown-package.git"
8
+ "url": "git+https://github.com/powerhouse-inc/renown-package.git"
9
9
  },
10
10
  "bugs": {
11
11
  "url": "https://github.com/powerhouse-inc/renown-package/issues"
@@ -97,12 +97,12 @@
97
97
  "service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
98
98
  },
99
99
  "dependencies": {
100
- "@powerhousedao/builder-tools": "staging",
101
- "@powerhousedao/common": "staging",
102
- "@powerhousedao/design-system": "staging",
100
+ "@powerhousedao/builder-tools": "5.3.6",
101
+ "@powerhousedao/common": "5.3.6",
102
+ "@powerhousedao/design-system": "5.3.6",
103
103
  "@powerhousedao/document-engineering": "^1.40.1",
104
- "@powerhousedao/vetra": "staging",
105
- "document-model": "staging",
104
+ "@powerhousedao/vetra": "5.3.6",
105
+ "document-model": "5.3.6",
106
106
  "graphql": "^16.10.0",
107
107
  "graphql-request": "^7.2.0",
108
108
  "graphql-tag": "^2.12.6",
@@ -116,15 +116,15 @@
116
116
  "@electric-sql/pglite": "^0.2.17",
117
117
  "@eslint/js": "^9.37.0",
118
118
  "@openfeature/core": "^1.9.1",
119
- "@powerhousedao/analytics-engine-core": "^0.5.0",
120
- "@powerhousedao/codegen": "staging",
121
- "@powerhousedao/connect": "staging",
122
- "@powerhousedao/ph-cli": "staging",
123
- "@powerhousedao/reactor-api": "staging",
124
- "@powerhousedao/reactor-browser": "staging",
125
- "@powerhousedao/reactor-local": "staging",
119
+ "@powerhousedao/analytics-engine-core": "6.0.0-dev.84",
120
+ "@powerhousedao/codegen": "5.3.6",
121
+ "@powerhousedao/connect": "5.3.6",
122
+ "@powerhousedao/ph-cli": "5.3.6",
123
+ "@powerhousedao/reactor-api": "5.3.6",
124
+ "@powerhousedao/reactor-browser": "5.3.6",
125
+ "@powerhousedao/reactor-local": "5.3.6",
126
126
  "@powerhousedao/scalars": "latest",
127
- "@powerhousedao/switchboard": "staging",
127
+ "@powerhousedao/switchboard": "5.3.6",
128
128
  "@semantic-release/changelog": "^6.0.3",
129
129
  "@semantic-release/git": "^10.0.1",
130
130
  "@tailwindcss/cli": "^4.1.14",
@@ -133,7 +133,7 @@
133
133
  "@types/react-dom": "^19.2.2",
134
134
  "@vitejs/plugin-react": "^5.0.4",
135
135
  "adm-zip": "^0.5.16",
136
- "document-drive": "staging",
136
+ "document-drive": "5.3.6",
137
137
  "eslint": "^9.37.0",
138
138
  "eslint-plugin-react": "^7.37.4",
139
139
  "eslint-plugin-react-hooks": "^5.2.0",
@@ -158,5 +158,7 @@
158
158
  "overrides": {
159
159
  "react": "^19.2.0",
160
160
  "react-dom": "^19.2.0"
161
- }
161
+ },
162
+ "readme": "ERROR: No README data found!",
163
+ "homepage": "https://github.com/powerhouse-inc/renown-package#readme"
162
164
  }