@oxyhq/core 5.4.0 → 5.4.2
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.
|
@@ -87,6 +87,8 @@ export interface PrivacySettings {
|
|
|
87
87
|
sensitiveContent?: boolean;
|
|
88
88
|
autoFilter?: boolean;
|
|
89
89
|
muteKeywords?: boolean;
|
|
90
|
+
/** Allow sharing this user's content on the fediverse. Defaults to true. */
|
|
91
|
+
fediverseSharing?: boolean;
|
|
90
92
|
}
|
|
91
93
|
export interface User {
|
|
92
94
|
id: string;
|
|
@@ -127,6 +129,8 @@ export interface User {
|
|
|
127
129
|
accountExpiresAfterInactivityDays?: number | null;
|
|
128
130
|
type?: 'local' | 'federated' | 'agent' | 'automated';
|
|
129
131
|
isFederated?: boolean;
|
|
132
|
+
/** Allow sharing this user's content on the fediverse. Defaults to true. */
|
|
133
|
+
fediverseSharing?: boolean;
|
|
130
134
|
isAgent?: boolean;
|
|
131
135
|
isAutomated?: boolean;
|
|
132
136
|
instance?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxyhq/core",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"description": "OxyHQ SDK Foundation — API client, authentication, cryptographic identity, and shared utilities",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@oxyhq/contracts": "^0.
|
|
97
|
+
"@oxyhq/contracts": "^0.8.0",
|
|
98
98
|
"@oxyhq/protocol": "^0.1.1",
|
|
99
99
|
"bip39": "^3.1.0",
|
|
100
100
|
"buffer": "^6.0.3",
|
package/src/models/interfaces.ts
CHANGED
|
@@ -93,6 +93,8 @@ export interface PrivacySettings {
|
|
|
93
93
|
sensitiveContent?: boolean;
|
|
94
94
|
autoFilter?: boolean;
|
|
95
95
|
muteKeywords?: boolean;
|
|
96
|
+
/** Allow sharing this user's content on the fediverse. Defaults to true. */
|
|
97
|
+
fediverseSharing?: boolean;
|
|
96
98
|
}
|
|
97
99
|
|
|
98
100
|
export interface User {
|
|
@@ -139,6 +141,8 @@ export interface User {
|
|
|
139
141
|
// User type and external account support
|
|
140
142
|
type?: 'local' | 'federated' | 'agent' | 'automated';
|
|
141
143
|
isFederated?: boolean;
|
|
144
|
+
/** Allow sharing this user's content on the fediverse. Defaults to true. */
|
|
145
|
+
fediverseSharing?: boolean;
|
|
142
146
|
isAgent?: boolean;
|
|
143
147
|
isAutomated?: boolean;
|
|
144
148
|
instance?: string;
|