@oxy.so/federation 2.1.1 → 2.2.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.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +8 -2
- package/package.json +3 -3
- package/src/index.ts +8 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -63,8 +63,14 @@ export { canonicalFederationHost, isSameFederationHost, extractActorUriFromActiv
|
|
|
63
63
|
* follows the Oxy account kind ({@link LOCAL_ACTOR_TYPE_BY_ACCOUNT_KIND}).
|
|
64
64
|
*/
|
|
65
65
|
export { createLocalActorBuilder, normalizeAlsoKnownAs, localActorTypeForAccountKind, isApActorType, AP_ACTOR_TYPES, LOCAL_ACTOR_TYPE_BY_ACCOUNT_KIND, type ApActorType, type LocalActorType, type LocalActorBuilder, type LocalActorBuilderConfig, type BuildLocalActorParams, type ActorMediaResolver, } from './actorObject';
|
|
66
|
-
/**
|
|
67
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Supported external networks, keyed by the transport a connector speaks.
|
|
68
|
+
* `instagram-graph` is Meta's Graph API Business Discovery: a read-only
|
|
69
|
+
* fallback for Business/Creator Instagram accounts whose identity Oxy resolves
|
|
70
|
+
* (actor ids `instagram-graph:<igUserId>`). It shares the existing `instagram`
|
|
71
|
+
* entry of {@link FEDERATION_NETWORKS}; it is a transport, not a new network.
|
|
72
|
+
*/
|
|
73
|
+
export type NetworkId = 'activitypub' | 'atproto' | 'instagram-graph';
|
|
68
74
|
/**
|
|
69
75
|
* A remote actor normalized into a network-neutral shape. Built by a connector
|
|
70
76
|
* from its protocol's profile representation, and consumed by the identity
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxy.so/federation",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Oxy Federation — the app-agnostic ActivityPub identity + follow engine substrate: the network-connector contract, normalized cross-network DTOs, HTTP signatures, actor resolution, the outbound delivery transport + follow lifecycle, the inbound dispatcher, and the webfinger/actor/inbox Express routers. Domain-parameterized so every Oxy app backend federates under its own domain.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@oxy.so/contracts": "^1.0.0 || ^2.0.0",
|
|
97
|
-
"@oxy.so/core": "^1.0.0"
|
|
96
|
+
"@oxy.so/contracts": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0",
|
|
97
|
+
"@oxy.so/core": "^1.0.0 || ^2.0.0 || ^3.0.0"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"express": "^4.18.0 || ^5.0.0"
|
package/src/index.ts
CHANGED
|
@@ -125,8 +125,14 @@ export {
|
|
|
125
125
|
type ActorMediaResolver,
|
|
126
126
|
} from './actorObject';
|
|
127
127
|
|
|
128
|
-
/**
|
|
129
|
-
|
|
128
|
+
/**
|
|
129
|
+
* Supported external networks, keyed by the transport a connector speaks.
|
|
130
|
+
* `instagram-graph` is Meta's Graph API Business Discovery: a read-only
|
|
131
|
+
* fallback for Business/Creator Instagram accounts whose identity Oxy resolves
|
|
132
|
+
* (actor ids `instagram-graph:<igUserId>`). It shares the existing `instagram`
|
|
133
|
+
* entry of {@link FEDERATION_NETWORKS}; it is a transport, not a new network.
|
|
134
|
+
*/
|
|
135
|
+
export type NetworkId = 'activitypub' | 'atproto' | 'instagram-graph';
|
|
130
136
|
|
|
131
137
|
/**
|
|
132
138
|
* A remote actor normalized into a network-neutral shape. Built by a connector
|