@openclaw-china/wecom 0.1.4 → 0.1.6
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4175,7 +4175,7 @@ function resolveGroupAllowFrom(config) {
|
|
|
4175
4175
|
return config.groupAllowFrom ?? [];
|
|
4176
4176
|
}
|
|
4177
4177
|
|
|
4178
|
-
// ../../
|
|
4178
|
+
// ../../packages/shared/src/logger/logger.ts
|
|
4179
4179
|
function createLogger(prefix, opts) {
|
|
4180
4180
|
const logFn = opts?.log ?? console.log;
|
|
4181
4181
|
const errorFn = opts?.error ?? console.error;
|
|
@@ -4187,7 +4187,7 @@ function createLogger(prefix, opts) {
|
|
|
4187
4187
|
};
|
|
4188
4188
|
}
|
|
4189
4189
|
|
|
4190
|
-
// ../../
|
|
4190
|
+
// ../../packages/shared/src/policy/dm-policy.ts
|
|
4191
4191
|
function checkDmPolicy(params) {
|
|
4192
4192
|
const { dmPolicy, senderId, allowFrom = [] } = params;
|
|
4193
4193
|
switch (dmPolicy) {
|
|
@@ -4208,7 +4208,7 @@ function checkDmPolicy(params) {
|
|
|
4208
4208
|
}
|
|
4209
4209
|
}
|
|
4210
4210
|
|
|
4211
|
-
// ../../
|
|
4211
|
+
// ../../packages/shared/src/policy/group-policy.ts
|
|
4212
4212
|
function checkGroupPolicy(params) {
|
|
4213
4213
|
const { groupPolicy, conversationId, groupAllowFrom = []} = params;
|
|
4214
4214
|
switch (groupPolicy) {
|